From bb87902c8caf1522913040aba35fa36deedaa329 Mon Sep 17 00:00:00 2001 From: Maya Raman Date: Wed, 26 Mar 2025 17:38:38 -0400 Subject: [PATCH] DOCSP-48515: Source/destination balancing (#678) * commit * feedback * feedbaclk * feedback * feedback * link * contractions and ref (cherry picked from commit c1b61ee2e99400dc80d7e6fad6010960e274c321) --- source/reference/mongosync/mongosync-behavior.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/reference/mongosync/mongosync-behavior.txt b/source/reference/mongosync/mongosync-behavior.txt index c0dcc4277..2bd4edec5 100644 --- a/source/reference/mongosync/mongosync-behavior.txt +++ b/source/reference/mongosync/mongosync-behavior.txt @@ -77,6 +77,17 @@ destination cluster. Chunk Distribution '''''''''''''''''' +.. important:: + + Even if the source cluster is balanced, ``mongosync`` doesn't + ensure balance of the destination cluster. Because ``mongosync`` + doesn't support the execution of sharding operations during + migration, you must wait until it is safe to accept writes + to rebalance the destination cluster. See :ref:`sharding-balancing` + for guidance on how to rebalance the cluster and + :ref:`sharded cluster limitations ` + for information on sharded cluster limitations in ``mongosync``. + ``mongosync`` does not preserve chunk distribution from the source to the destination, even with multiple ``mongosync`` instances. It is not possible to reproduce a particular pre-split of chunks from a source