Skip to content

Commit fc1daaa

Browse files
author
Dave Cuthbert
authored
DOCS-15881 m to n sharding (#109)
1 parent 8e0de1e commit fc1daaa

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
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.

source/multiple-mongosyncs.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

source/reference/api/reverse.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

source/reference/limitations.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,10 @@ Sharded Clusters
115115
Reversing
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

122123
Multiple Clusters
123124
-----------------

0 commit comments

Comments
 (0)