@@ -22,8 +22,8 @@ Shard Keys
2222----------
2323
2424Shard keys are the field in a collection that MongoDB uses to
25- distribute :term:`documents` within a sharded cluster. See the
26- :ref:`overview of shard keys <sharding-shard-keys >` for an
25+ distribute :term:`documents <document> ` within a sharded cluster. See the
26+ :ref:`overview of shard keys <sharding-shard-key >` for an
2727introduction these topics.
2828
2929.. index:: shard key; cardinality
@@ -34,7 +34,7 @@ Cardinality
3434
3535In the context of MongoDB, cardinality, refers to the concept of
3636counting or measuring the number of items in a set, represents the
37- number of :term:`chunks` that MongoDB may partition the data into.
37+ number of :term:`chunks <chunk> ` that MongoDB may partition the data into.
3838
3939For example, consider a collection of data such as an "address book"
4040that stores address records:
@@ -129,7 +129,7 @@ that query sharded clusters and :program:`mongos` hides all of the
129129complexity of data :term:`partitioning <partition>` from the
130130application. A :program:`mongos` receives queries from applications,
131131and then, using the metadata from the :ref:`config server
132- <sharding-config-database >`, routes queries to the :program:`mongod`
132+ <sharding-config-server >`, routes queries to the :program:`mongod`
133133instances that hold the appropriate the data. While the :program:`mongos`
134134succeeds in making all querying operational in sharded environments,
135135the :term:`shard key` you select can have a profound affect on query
@@ -258,19 +258,19 @@ member of the cluster is responsible for the same volume of data.
258258
259259This section contains complete documentation of the balancer process
260260and operations. For a higher level introduction see
261- the :ref:`Balancing <sharding-balancer >` section.
261+ the :ref:`Balancing <sharding-balancing >` section.
262262
263263Balancing Internals
264264~~~~~~~~~~~~~~~~~~~
265265
266266A balancing round originates from an arbitrary :program:`mongos`
267267instance. Because your shard cluster can have a number of
268268:program:`mongos` instances, when a balancer process is active it
269- acquires a "lock" by modifying a document on the :term:`config server `.
269+ acquires a "lock" by modifying a document on the :term:`config database `.
270270
271271By default, the balancer process is always running. When the number of
272272chunks in a collection is unevenly distributed among the shards, the
273- balancer begins migrating :term:`chunks` from shards with a
273+ balancer begins migrating :term:`chunks <chunk> ` from shards with a
274274disproportionate number of chunks to shards with a fewer number of
275275chunks. The balancer will continue migrating chunks, one at a time,
276276until the data is evenly distributed among the shards (i.e. the
@@ -325,7 +325,7 @@ following effects:
325325For many deployments it makes sense to avoid frequent and potentially
326326spurious migrations at the expense of a slightly less evenly
327327distributed data set, but this value is :ref:`configurable
328- <sharding-modify-chunk-size>`. Be aware of the following limitations
328+ <sharding-balancing- modify-chunk-size>`. Be aware of the following limitations
329329when modifying chunk size:
330330
331331- Automatic splitting only occurs when inserting :term:`documents
0 commit comments