@@ -42,7 +42,9 @@ operations in that state.
42
42
- Description
43
43
- Possible API Operations
44
44
45
- * - ``IDLE``
45
+ * - .. _c2c-state-idle:
46
+
47
+ ``IDLE``
46
48
- ``mongosync`` is initialized and ready for a sync job to
47
49
begin.
48
50
- - ``POST`` :ref:`/start <c2c-api-start>`
@@ -62,7 +64,9 @@ operations in that state.
62
64
- - ``POST`` :ref:`/resume <c2c-api-resume>`
63
65
- ``GET`` :ref:`/progress <c2c-api-progress>`
64
66
65
- * - ``COMMITTING``
67
+ * - .. _c2c-state-committing:
68
+
69
+ ``COMMITTING``
66
70
- The cutover for the sync process has started. The time it takes
67
71
to transition to the ``COMMITTED`` phase depends on
68
72
``lagTimeSeconds``. To monitor ``lagTimeSeconds`` or to see if
@@ -73,3 +77,26 @@ operations in that state.
73
77
* - ``COMMITTED``
74
78
- The cutover for the sync process is complete.
75
79
- - ``GET`` :ref:`/progress <c2c-api-progress>`
80
+
81
+ Read Operations
82
+ ---------------
83
+
84
+ Read operations on the source cluster are always permitted.
85
+
86
+ When the ``/progress`` endpoint reports ``canWrite`` is ``true``, the
87
+ data on the source and destination clusters is consistent.
88
+
89
+ Write Operations
90
+ ----------------
91
+
92
+ .. include:: /includes/fact-write-blocking-check.rst
93
+
94
+ .. include:: /includes/fact-write-blocking-when.rst
95
+
96
+ Write-blocking
97
+ ~~~~~~~~~~~~~~
98
+
99
+ .. include:: /includes/fact-write-blocking-enable.rst
100
+
101
+ .. include:: /includes/fact-write-blocking-requirement.rst
102
+
0 commit comments