Skip to content

Commit 5beeb19

Browse files
author
Sam Kleinman
committed
edits: DOCS-461
1 parent 98f3e15 commit 5beeb19

File tree

5 files changed

+35
-57
lines changed

5 files changed

+35
-57
lines changed

source/core/sharded-cluster-internals.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -464,10 +464,7 @@ command. This will prevent the :term:`balancer` from migrating chunks
464464
to the shard when the value of :data:`mem.mapped <serverStatus.mem.mapped>`
465465
exceeds the ``maxSize`` setting.
466466

467-
.. seealso::
468-
469-
:ref:`sharded-cluster-config-max-shard-size`
470-
467+
.. seealso:: :ref:`sharded-cluster-config-max-shard-size` and
471468
:doc:`/administration/monitoring`.
472469

473470
.. _sharding-chunk-migration:

source/reference/command/moveChunk.txt

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ moveChunk
77
.. dbcommand:: moveChunk
88

99
:dbcommand:`moveChunk` is an internal administrative command that
10-
moves :term:`chunks <chunk>` between :term:`shards <shard>`.
10+
moves :term:`chunks <chunk>` between :term:`shards <shard>`.
1111
You must issue the
1212
:dbcommand:`moveChunk`
1313
command against the :term:`admin database` in the form:
@@ -19,22 +19,28 @@ moveChunk
1919
to : <destination>,
2020
<options> } )
2121

22-
:param moveChunk: The name of the :term:`collection` where
23-
the :term:`chunk` exists. Specify the
24-
collection's full namespace, including
25-
the database name.
22+
:param namespace moveChunk:
2623

27-
:param find: A document including the :term:`shard key`.
24+
The name of the :term:`collection` where the :term:`chunk`
25+
exists. Specify the collection's full namespace, including the
26+
database name.
2827

29-
:param to: The identifier of the shard, that you want to migrate the
30-
chunk to.
28+
:param document find:
3129

32-
:param _secondaryThrottle: Optional. Set to ``false`` by default. If
33-
set to ``true``, the balancer waits for
34-
replication to :term:`secondaries <secondary>`
35-
while copying and deleting
36-
data during migrations. For details, see
37-
:ref:`sharded-cluster-config-secondary-throttle`.
30+
A document including the :term:`shard key`.
31+
32+
:param host to:
33+
34+
The identifier of the shard, that you want to migrate the chunk
35+
to.
36+
37+
:param boolean _secondaryThrottle:
38+
39+
Optional. Set to ``false`` by default. If set to ``true``, the
40+
balancer waits for replication to :term:`secondaries
41+
<secondary>` while copying and deleting data during
42+
migrations. For details, see
43+
:ref:`sharded-cluster-config-secondary-throttle`.
3844

3945
Use the :method:`sh.moveChunk()` helper in the :program:`mongo`
4046
shell to migrate chunks manually.

source/tutorial/configure-sharded-cluster-balancer.txt

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ Configure Behavior of Balancer Process in Sharded Clusters
66

77
.. default-domain:: mongodb
88

9-
The balancer runs on a single :program:`mongos` instance and distributes
10-
chunks evenly throughout a sharded cluster. In most deployments, you do
11-
not need to configure the balancer. The balancer automatically
12-
distributes chunks in an optimal manner. However, administrators might
13-
need to modify balancer behavior depending on application or operational
14-
requirements. Should a situation arise where modifying balancer behavior
15-
is necessary, this page describes settings that can be changed.
9+
The balancer is a process that runs on *one* of the :program:`mongos`
10+
instances in a cluster and ensures that :term:`chunks <chunk>` are
11+
evenly distributed throughout a sharded cluster. In most deployments,
12+
the default balancer configuration is sufficient for normal
13+
operation. However, administrators might need to modify balancer
14+
behavior depending on application or operational requirements. If you
15+
encounter a situation where you need to modify the behavior of the
16+
balancer, use the procedures described in this document.
1617

1718
For conceptual information about the balancer, see
1819
:ref:`sharding-balancing` and :ref:`sharding-balancing-internals`.
@@ -22,17 +23,17 @@ For conceptual information about the balancer, see
2223
Schedule a Window of Time for Balancing to Occur
2324
------------------------------------------------
2425

25-
You can schedule a window of time during which the balancer is allowed
26-
to migrate chunks, as described in the following procedures:
26+
You can schedule a window of time during which the balancer can
27+
migrate chunks, as described in the following procedures:
2728

2829
- :ref:`sharding-schedule-balancing-window`
2930

3031
- :ref:`sharding-balancing-remove-window`.
3132

32-
The configured time is evaluated relative to the time zone of each
33-
individual :program:`mongos` instance in the sharded cluster.
33+
The :program:`mongos` instances user their own local timezones to when
34+
respecting balancer window.
3435

35-
.. _sharded-cluster-config-default-chunk-size:
36+
.. _sharded-cluster-config-default-chunk-size:q
3637

3738
Configure Default Chunk Size
3839
----------------------------

source/tutorial/manage-chunks-in-sharded-cluster.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.. _sharding-manage-chunks:
2-
31
==================================
42
Manage Chunks in a Sharded Cluster
53
==================================
@@ -13,18 +11,6 @@ operations are accessible to administrators for use in some
1311
situations, typically surrounding initial setup, deployment, and data
1412
ingestion.
1513

16-
This page includes the following:
17-
18-
- :ref:`sharding-administration-create-chunks`
19-
20-
- :ref:`sharding-balancing-modify-chunk-size`
21-
22-
- :ref:`sharding-balancing-manual-migration`
23-
24-
- :ref:`sharding-bulk-inserts`
25-
26-
- :ref:`sharding-procedure-create-split`
27-
2814
.. _sharding-procedure-create-split:
2915

3016
Split Chunks

source/tutorial/manage-sharded-cluster-balancer.txt

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,7 @@ to balancing. For an introduction to balancing, see
1111
:ref:`sharding-balancing`. For lower level information on balancing, see
1212
:ref:`sharding-balancing-internals`.
1313

14-
This page includes the following:
15-
16-
- :ref:`sharding-balancing-check-lock`
17-
18-
- :ref:`sharding-schedule-balancing-window`
19-
20-
- :ref:`sharding-balancing-remove-window`
21-
22-
- :ref:`sharding-balancing-disable-temporally`
23-
24-
.. seealso::
25-
26-
:doc:`/tutorial/configure-sharded-cluster-balancer`
14+
.. seealso:: :doc:`/tutorial/configure-sharded-cluster-balancer`
2715

2816
.. _sharding-balancing-check-lock:
2917

0 commit comments

Comments
 (0)