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:
52
52
53
53
.. _c2c-shard-config-verify:
54
54
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.
57
59
58
60
.. step:: Determine the shard IDs
59
61
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ To use the ``reverse`` endpoint:
46
46
indexes that were created in MongoDB 4.2 or earlier, you must
47
47
:ref:`resync <resync-replica-member>` all of the nodes in the
48
48
original source cluster before reversing.
49
+ - .. include:: /includes/fact-reverse-limitation.rst
49
50
50
51
.. include:: /includes/fact-reverse-sync-action-types.rst
51
52
Original file line number Diff line number Diff line change @@ -115,9 +115,10 @@ Sharded Clusters
115
115
Reversing
116
116
---------
117
117
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
121
122
122
123
Multiple Clusters
123
124
-----------------
You can’t perform that action at this time.
0 commit comments