Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit f8975aa

Browse files
committed
feedback
1 parent f205361 commit f8975aa

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

source/includes/fact-mongosync-balancer.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
.. important::
22

3+
You must always disable the balancer on a sharded destination
4+
cluster by using :dbcommand:`balancerStop`.
5+
After stopping the balancer, wait **fifteen minutes** before
6+
starting ``mongosync``. This gives the cluster time to
7+
finish any in-progress chunk migrations.
8+
39
If the source or destination cluster is a sharded cluster
410
and you are not running ``mongosync`` with :ref:`namespace
511
filtering <c2c-filtered-sync>`,
@@ -8,15 +14,13 @@
814
for the command to complete.
915

1016
If the source or destination cluster is a sharded cluster and you
11-
are running ``mongosync`` with namespace filtering, you can enable the source cluster's
12-
balancer overall but you must disable it for
17+
are running ``mongosync`` with namespace filtering, you can
18+
globally enable the source cluster's
19+
balancer but you must disable it for
1320
all collections within the namespace filter.
14-
See :ref:`disabling-balancer-filtered`. You can also disable
21+
See :ref:`disabling-balancer-filtered`. You can also fully disable
1522
the source cluster's balancer.
1623

17-
You must always disable the balancer on a sharded destination
18-
cluster by using :dbcommand:`balancerStop`.
19-
2024
During migration, do not run the :dbcommand:`moveChunk` or
2125
:dbcommand:`moveRange` commands. If you have enabled the source cluster's
2226
balancer, but disabled it for collections within the namespace

source/reference/limitations.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,11 @@ Sharded Clusters
132132
for the command to complete.
133133

134134
If the source or destination cluster is a sharded cluster and you
135-
are running ``mongosync`` with namespace filtering, you can enable the source cluster's
136-
balancer overall but you must disable it for
135+
are running ``mongosync`` with namespace filtering, you can
136+
globally enable the source cluster's
137+
balancer but you must disable it for
137138
all collections within the namespace filter.
138-
See :ref:`disabling-balancer-filtered`. You can also disable
139+
See :ref:`disabling-balancer-filtered`. You can also fully disable
139140
the source cluster's balancer.
140141

141142
You must always disable the balancer on a sharded destination

source/reference/mongosync/mongosync-behavior.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,10 @@ Disabling Balancer for Collections in Filtered Sync
108108
'''''''''''''''''''''''''''''''''''''''''''''''''''
109109

110110
If you are using a :ref:`namespace filter <c2c-filtered-sync>`
111-
and want to enable your source cluster's balancer,
111+
and want to enable your source cluster's balancer for
112+
collections outside the namespace filter,
112113
use the following instructions before
113-
starting ``mongosync``. These instructions allow you to enable the balancer
114-
for the source cluster and disable the balancer for collections
115-
within the namespace filter.
114+
starting ``mongosync``.
116115

117116
.. procedure::
118117
:style: normal

0 commit comments

Comments
 (0)