Skip to content

DOCSP-48515-Source-destination-balancing #678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 26, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions source/reference/mongosync/mongosync-behavior.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add the link to Limitations from this comment

once that change is added I am good to approve, thank you!

to rebalance the destination cluster. See :ref:`sharding-balancing`
for guidance on how to rebalance the cluster and
:ref:`sharded cluster limitations <c2c-sharded-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
Expand Down