Skip to content

Commit 7a2f636

Browse files
committed
minor copy edits to tag aware sharding docs
1 parent 627a449 commit 7a2f636

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

source/administration/operational-segregation.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ Specifically, with MongoDB, you can:
4545

4646
- combine the above features in a single distributed deployment, on a
4747
per-operation (for read and write operations) and collection (for
48-
chunk distribution in sharded clusters distribution.) basis.
48+
chunk distribution in sharded clusters distribution) basis.
4949

50-
For full documentation of these features see the following
50+
For full documentation of these features, see the following
5151
documentation in the MongoDB Manual:
5252

5353
- :ref:`Read Preferences <read-preference>`, which controls how drivers
@@ -59,11 +59,11 @@ documentation in the MongoDB Manual:
5959

6060
- :ref:`Replica Set Tags <replica-set-configuration-tag-sets>`, which
6161
control how applications create and interact with custom groupings
62-
of replica set members to create custom application specific read
62+
of replica set members to create custom application-specific read
6363
preferences and write concerns.
6464

6565
- :ref:`Tag Aware Sharding <tag-aware-sharding>`, which allows MongoDB
66-
administrators to define an application specific balancing policy,
66+
administrators to define an application-specific balancing policy,
6767
to control how documents belonging to specific ranges of a shard key
6868
distribute to shards in the :term:`sharded cluster`.
6969

source/administration/tag-aware-sharding.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ sharding in MongoDB deployments.
2424

2525
.. note::
2626

27-
Shard key rage tags are entirely distinct from :ref:`replica set member
27+
Shard key range tags are entirely distinct from :ref:`replica set member
2828
tags <replica-set-read-preference-tag-sets>`.
2929

3030
Behavior and Operations
3131
-----------------------
3232

3333
Tags in a sharded cluster are pieces of metadata that dictate the
34-
policy and behavior of the cluster balancer :term:`balancer`. Using
34+
policy and behavior of the cluster :term:`balancer`. Using
3535
tags, you may associate individual shards in a cluster with one or
3636
more tags. Then, you can assign this tag string to a range
3737
of :term:`shard key` values for a sharded collection. When migrating a
@@ -53,10 +53,10 @@ tags, if tagged shards are not balanced. [#specific-tagged-migrations]_
5353
that:
5454

5555
- :term:`Shard key` values between ``100`` and ``200`` have tags to
56-
direct corresponding chunks on shards tagged ``NYC``.
56+
direct corresponding chunks to shards tagged ``NYC``.
5757

5858
- Shard Key values between ``200`` and ``300`` have tags to direct
59-
corresponding chunks on shards tagged ``SFO``.
59+
corresponding chunks to shards tagged ``SFO``.
6060

6161
In this cluster, the balancer will migrate a chunk with shard key
6262
values ranging between ``150`` and ``220`` to a shard tagged
@@ -162,7 +162,7 @@ View Existing Shard Tags
162162
The output from :method:`sh.status()` lists tags associated with a
163163
shard, if any, for each shard. A shard's tags exist in the shard's
164164
document in the :data:`~config.shards` collection of the ``config``
165-
database. To return all shards with a specific tag use a sequence of
165+
database. To return all shards with a specific tag, use a sequence of
166166
operations that resemble the following, which will return only those
167167
shards tagged with ``NYC``:
168168

@@ -174,10 +174,10 @@ shards tagged with ``NYC``:
174174
You can find tag ranges for all :term:`namespaces <namespace>` in the
175175
:data:`~config.tags` collection of the ``config`` database. The output
176176
of :method:`sh.status()` displays all tag ranges. To return all shard
177-
key ranges tagged with ``NYC`` issue the following sequence of
177+
key ranges tagged with ``NYC``, issue the following sequence of
178178
commands:
179179

180180
.. code-block:: javascript
181181

182182
use config
183-
db.shards.find({ tags: "NYC" })
183+
db.tags.find({ tags: "NYC" })

source/data-center-awareness.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MongoDB provides a number of features that allow application
1010
developers and database administrators to customize the behavior of a
1111
:term:`sharded cluster` or :term:`replica set` deployment so that
1212
MongoDB may be *more* "data center aware," or allow operational
13-
separation and segregation based on location.
13+
separation and location-based separation.
1414

1515
MongoDB also supports segregation based
1616
on functional parameters, to ensure that certain :program:`mongod`

0 commit comments

Comments
 (0)