Skip to content

Commit caf3d96

Browse files
authored
DOCSP-33886 Remove 'Stop Balancer on Destination' Step (#192) (#198)
* DOCSP-33885 Remove 'Stop Balancer on Destination' Step * AV feedback * AV reword
1 parent c4885ad commit caf3d96

File tree

1 file changed

+10
-27
lines changed

1 file changed

+10
-27
lines changed

source/multiple-mongosyncs.txt

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Use ``mongosync`` on Sharded Clusters
1313
:class: twocols
1414

1515
There are two ways to synchronize :ref:`sharded clusters
16-
<sharded-cluster>`. You can use either one ``monogosync`` or several
17-
``monogosync`` instances. For best performance with large or heavily
18-
loaded clusters, use multiple ``monogosync`` instances, one
19-
``monogosync`` for each shard in the cluster.
16+
<sharded-cluster>`. You can use either one ``mongosync`` or several
17+
``mongosync`` instances. For best performance with large or heavily
18+
loaded clusters, use multiple ``mongosync`` instances, one
19+
``mongosync`` for each shard in the cluster.
2020

2121
.. _c2c-sharded-config-single:
2222

@@ -32,7 +32,7 @@ the :urioption:`replicaSet` option or the :option:`id <mongosync --id>`
3232
option.
3333

3434
The rest of this page addresses cluster to cluster synchronization
35-
using multiple ``monogosync`` instances.
35+
using multiple ``mongosync`` instances.
3636

3737
.. _c2c-sharded-config:
3838

@@ -57,16 +57,6 @@ To configure multiple ``mongosync`` instances:
5757
sync, the source cluster and destination cluster must have the
5858
same number of shards.
5959

60-
.. step:: Stop the Balancer on the Destination
61-
62-
To stop the balancer on the destination cluster, connect to the
63-
destination cluster and call the :method:`sh.stopBalancer` method:
64-
65-
.. code-block:: javascript
66-
67-
sh.stopBalancer()
68-
69-
7060
.. step:: Determine the shard IDs
7161

7262
.. _c2c-shard-config-determine:
@@ -179,8 +169,7 @@ instances.
179169
Check Progress
180170
--------------
181171

182-
The ``mongosync`` instances do not aggregate progress information
183-
across shards. To review synchronization progress for a particular
172+
To review synchronization progress for a particular
184173
shard, use ``curl`` or another HTTP client to issue the
185174
:ref:`progress <c2c-api-progress>` command to the ``mongosync``
186175
instance syncing that shard.
@@ -271,15 +260,6 @@ These commands only check progress and commit synchronization for the
271260
to ``progress`` and ``commit`` on any other ``mongosync`` instances
272261
that may be running.
273262

274-
Once this is done, use :method:`sh.startBalancer` to restart the balancer
275-
on the destination cluster:
276-
277-
.. code-block:: javascript
278-
279-
sh.startBalancer()
280-
281-
282-
283263
.. _c2c-sharded-reverse:
284264

285265
Reverse the Synchronization Direction
@@ -290,7 +270,10 @@ acts as the source cluster:
290270

291271
- If you have not already done so, issue the :ref:`commit
292272
<c2c-api-commit>` command to each ``mongosync`` instance and wait
293-
until all of the commits to finish.
273+
until all of the commits to finish. To check if the sync process has been
274+
committed, issue the :ref:`progress <c2c-api-progress>` command to all
275+
``mongosync`` instances and see if each response's ``state`` field contains
276+
the value ``COMMITTED``.
294277
- Issue the :ref:`reverse <c2c-api-reverse>` command to each
295278
``mongosync`` instance.
296279

0 commit comments

Comments
 (0)