File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1+ The source and destination clusters must have the same number of
2+ shards. You cannot reverse sync when the clusters have different
3+ topologies.
Original file line number Diff line number Diff line change @@ -52,8 +52,10 @@ To configure multiple ``mongosync`` instances:
5252
5353 .. _c2c-shard-config-verify:
5454
55- The source cluster and destination cluster must have the same
56- number of shards.
55+ Starting in ``mongosync`` 1.1, you can sync between clusters with
56+ different numbers of shards. However, if you want to reverse the
57+ sync, the source cluster and destination cluster must have the
58+ same number of shards.
5759
5860 .. step:: Determine the shard IDs
5961
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ To use the ``reverse`` endpoint:
4646 indexes that were created in MongoDB 4.2 or earlier, you must
4747 :ref:`resync <resync-replica-member>` all of the nodes in the
4848 original source cluster before reversing.
49+ - .. include:: /includes/fact-reverse-limitation.rst
4950
5051.. include:: /includes/fact-reverse-sync-action-types.rst
5152
Original file line number Diff line number Diff line change @@ -115,9 +115,10 @@ Sharded Clusters
115115Reversing
116116---------
117117
118- If the old source has :ref:`unique indexes <index-type-unique>` which
119- are partially distributed across shards, reversing may cause failures.
120- Ensure that unique indexes exist on all shards before reversing.
118+ - If the old source has :ref:`unique indexes <index-type-unique>` which
119+ are partially distributed across shards, reversing may cause failures.
120+ Ensure that unique indexes exist on all shards before reversing.
121+ - .. include:: /includes/fact-reverse-limitation.rst
121122
122123Multiple Clusters
123124-----------------
You can’t perform that action at this time.
0 commit comments