Skip to content

Commit 1f5cdd4

Browse files
committed
DOCSP-48515: Source/destination balancing (mongodb#678)
* commit * feedback * feedbaclk * feedback * feedback * link * contractions and ref (cherry picked from commit c1b61ee)
1 parent 21b5cb2 commit 1f5cdd4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

source/reference/mongosync/mongosync-behavior.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,17 @@ destination cluster.
114114
Chunk Distribution
115115
''''''''''''''''''
116116

117+
.. important::
118+
119+
Even if the source cluster is balanced, ``mongosync`` doesn't
120+
ensure balance of the destination cluster. Because ``mongosync``
121+
doesn't support the execution of sharding operations during
122+
migration, you must wait until it is safe to accept writes
123+
to rebalance the destination cluster. See :ref:`sharding-balancing`
124+
for guidance on how to rebalance the cluster and
125+
:ref:`sharded cluster limitations <c2c-sharded-limitations>`
126+
for information on sharded cluster limitations in ``mongosync``.
127+
117128
``mongosync`` does not preserve chunk distribution from the source to
118129
the destination, even with multiple ``mongosync`` instances. It is not
119130
possible to reproduce a particular pre-split of chunks from a source

0 commit comments

Comments
 (0)