This repository was archived by the owner on May 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +42
-3
lines changed
Expand file tree Collapse file tree 7 files changed +42
-3
lines changed Original file line number Diff line number Diff line change 1+ When you configure multiple ``mongosync `` instances to sync between
2+ sharded clusters, you must send identical API endpoint commands to each
3+ ``mongosync `` instance.
Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ the source cluster. You must use the same version of ``mongosync``
4444between all instances. For a replica set source, you can only use one
4545``mongosync`` instance.
4646
47+ .. include:: /includes/api/facts/multiple-mongosync-endpoints
48+
4749To configure multiple ``mongosync`` instances:
4850
4951#. :ref:`Verify cluster configuration <c2c-shard-config-verify>`
@@ -147,7 +149,6 @@ To configure multiple ``mongosync`` instances:
147149 Consider designating a range of ports to simplify scripting
148150 {+c2c-product-name+} operations.
149151
150-
151152.. _c2c-sharded-start:
152153
153154Start Multiple ``mongosync`` Instances
Original file line number Diff line number Diff line change @@ -60,8 +60,6 @@ Before using the ``commit`` endpoint:
6060- Use the :ref:`progress <c2c-api-progress>` endpoint to confirm the
6161 following values:
6262
63- - ``state: "RUNNING"``
64- - ``canCommit: true``
6563 - ``lagTimeSeconds`` is near ``0`` (*Recommended, but not required*)
6664
6765 .. note:: lagTimeSeconds
@@ -75,6 +73,15 @@ Before using the ``commit`` endpoint:
7573 When ``lagTimeSeconds`` is ``0``, the source and destination
7674 clusters are in a consistent state.
7775
76+ - ``state: "RUNNING"``
77+ - ``canCommit: true``
78+
79+ .. note::
80+
81+ .. include:: /includes/api/facts/multiple-mongosync-endpoints
82+
83+ For more information, see :ref:`c2c-sharded-commit`.
84+
7885Request
7986-------
8087
Original file line number Diff line number Diff line change @@ -24,6 +24,13 @@ Requirement
2424To use the ``pause`` endpoint, ``mongosync`` must be in the ``RUNNING``
2525state.
2626
27+ .. note::
28+
29+ .. include:: /includes/api/facts/multiple-mongosync-endpoints
30+
31+ For more information, see :ref:`Pause Multiple Mongosyncs
32+ <c2c-sharded-pause>`.
33+
2734Request
2835-------
2936
Original file line number Diff line number Diff line change @@ -25,6 +25,13 @@ Requirement
2525To use the ``resume`` endpoint, ``mongosync`` must be in the ``PAUSED``
2626state.
2727
28+ .. note::
29+
30+ .. include:: /includes/api/facts/multiple-mongosync-endpoints
31+
32+ For more information, see :ref:`Resume Multiple Mongosyncs
33+ <c2c-sharded-resume>`.
34+
2835Request
2936-------
3037
Original file line number Diff line number Diff line change @@ -52,6 +52,13 @@ To use the ``reverse`` endpoint:
5252- .. include:: /includes/fact-reverse-limitation.rst
5353- .. include:: /includes/fact-permissions-body.rst
5454
55+ .. note::
56+
57+ .. include:: /includes/api/facts/multiple-mongosync-endpoints
58+
59+ For more information, see :ref:`Reverse Multiple Mongosyncs
60+ <c2c-sharded-reverse>`.
61+
5562.. _c2c-validate-unique-index:
5663
5764Validate Unique Indexes
Original file line number Diff line number Diff line change @@ -60,6 +60,13 @@ Ensure that you use this configured ``mongosync`` user in the connection
6060strings for the :setting:`cluster0` or :setting:`cluster1` settings when
6161you start ``mongosync``.
6262
63+ .. note::
64+
65+ .. include:: /includes/api/facts/multiple-mongosync-endpoints
66+
67+ For more information, see :ref:`Start Multiple Mongosyncs
68+ <c2c-sharded-start>`.
69+
6370Request
6471-------
6572
You can’t perform that action at this time.
0 commit comments