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``
44
44
between all instances. For a replica set source, you can only use one
45
45
``mongosync`` instance.
46
46
47
+ .. include:: /includes/api/facts/multiple-mongosync-endpoints
48
+
47
49
To configure multiple ``mongosync`` instances:
48
50
49
51
#. :ref:`Verify cluster configuration <c2c-shard-config-verify>`
@@ -147,7 +149,6 @@ To configure multiple ``mongosync`` instances:
147
149
Consider designating a range of ports to simplify scripting
148
150
{+c2c-product-name+} operations.
149
151
150
-
151
152
.. _c2c-sharded-start:
152
153
153
154
Start Multiple ``mongosync`` Instances
Original file line number Diff line number Diff line change @@ -60,8 +60,6 @@ Before using the ``commit`` endpoint:
60
60
- Use the :ref:`progress <c2c-api-progress>` endpoint to confirm the
61
61
following values:
62
62
63
- - ``state: "RUNNING"``
64
- - ``canCommit: true``
65
63
- ``lagTimeSeconds`` is near ``0`` (*Recommended, but not required*)
66
64
67
65
.. note:: lagTimeSeconds
@@ -75,6 +73,15 @@ Before using the ``commit`` endpoint:
75
73
When ``lagTimeSeconds`` is ``0``, the source and destination
76
74
clusters are in a consistent state.
77
75
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
+
78
85
Request
79
86
-------
80
87
Original file line number Diff line number Diff line change @@ -24,6 +24,13 @@ Requirement
24
24
To use the ``pause`` endpoint, ``mongosync`` must be in the ``RUNNING``
25
25
state.
26
26
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
+
27
34
Request
28
35
-------
29
36
Original file line number Diff line number Diff line change @@ -25,6 +25,13 @@ Requirement
25
25
To use the ``resume`` endpoint, ``mongosync`` must be in the ``PAUSED``
26
26
state.
27
27
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
+
28
35
Request
29
36
-------
30
37
Original file line number Diff line number Diff line change @@ -52,6 +52,13 @@ To use the ``reverse`` endpoint:
52
52
- .. include:: /includes/fact-reverse-limitation.rst
53
53
- .. include:: /includes/fact-permissions-body.rst
54
54
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
+
55
62
.. _c2c-validate-unique-index:
56
63
57
64
Validate 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
60
60
strings for the :setting:`cluster0` or :setting:`cluster1` settings when
61
61
you start ``mongosync``.
62
62
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
+
63
70
Request
64
71
-------
65
72
You can’t perform that action at this time.
0 commit comments