Skip to content

Commit 46558be

Browse files
authored
DOCSP-32690 multiple mongosync endpoint note (#264) (#267)
* DOCSP-32690 multiple mongosync endpoint note * DOCSP-32690 splitting up notes * DOCSP-32690 adding links to multiple mongosyncs sections * DOCSP-32690 tech edits
1 parent 7944de2 commit 46558be

File tree

7 files changed

+42
-3
lines changed

7 files changed

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

source/multiple-mongosyncs.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ the source cluster. You must use the same version of ``mongosync``
4444
between 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+
4749
To 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

153154
Start Multiple ``mongosync`` Instances

source/reference/api/commit.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ Before using the ``commit`` endpoint:
5555
- Use the :ref:`progress <c2c-api-progress>` endpoint to confirm the
5656
following values:
5757

58-
- ``state: "RUNNING"``
59-
- ``canCommit: true``
6058
- ``lagTimeSeconds`` is near ``0`` (*Recommended, but not required*)
6159

6260
.. note:: lagTimeSeconds
@@ -70,6 +68,15 @@ Before using the ``commit`` endpoint:
7068
When ``lagTimeSeconds`` is ``0``, the source and destination
7169
clusters are in a consistent state.
7270

71+
- ``state: "RUNNING"``
72+
- ``canCommit: true``
73+
74+
.. note::
75+
76+
.. include:: /includes/api/facts/multiple-mongosync-endpoints
77+
78+
For more information, see :ref:`c2c-sharded-commit`.
79+
7380
Request
7481
-------
7582

source/reference/api/pause.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ Requirement
2424
To use the ``pause`` endpoint, ``mongosync`` must be in the ``RUNNING``
2525
state.
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+
2734
Request
2835
-------
2936

source/reference/api/resume.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ Requirement
2525
To use the ``resume`` endpoint, ``mongosync`` must be in the ``PAUSED``
2626
state.
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+
2835
Request
2936
-------
3037

source/reference/api/reverse.txt

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

5764
Validate Unique Indexes

source/reference/api/start.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ Ensure that you use this configured ``mongosync`` user in the connection
6060
strings for the :setting:`cluster0` or :setting:`cluster1` settings when
6161
you 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+
6370
Request
6471
-------
6572

0 commit comments

Comments
 (0)