@@ -132,24 +132,6 @@ Global Options
132
132
Behavior
133
133
--------
134
134
135
- Commit
136
- ~~~~~~
137
-
138
- To stop syncing, use the :ref:`commit <c2c-api-commit>` command on the
139
- destination cluster to convert indexes and finalize the changes. While
140
- ``commit`` is running:
141
-
142
- - Writes are blocked on the source cluster.
143
- - Writes are blocked on the destination cluster until ``mongosync``
144
- begins index validation.
145
-
146
- To monitor the ``commit`` process, use the :ref:`progress
147
- <c2c-api-progress>` command:
148
-
149
- - The destination cluster is writable when ``canWrite`` is true.
150
- - Index conversion is complete when ``mongosync`` enters the
151
- ``COMMITTED`` state.
152
-
153
135
.. _c2c-mongosync-config:
154
136
155
137
Cluster Independence
@@ -221,16 +203,35 @@ show an empty ``system.views`` collection in that database. The empty
221
203
``system.views`` collection will not change the accuracy of user
222
204
data on the destination.
223
205
224
- .. c2c -write-blocking:
206
+ .. _c2c -write-blocking:
225
207
226
208
Write Blocking
227
209
~~~~~~~~~~~~~~
228
210
229
211
.. include:: /includes/fact-write-blocking-enable.rst
230
212
231
- Write-blocking is not enabled by default. You must enable write-blocking
232
- when you start ``mongosync`` if you want to use :ref:`reverse
233
- synchronization <c2c-api-reverse>` later.
213
+ You must enable write-blocking when you start ``mongosync`` if you want
214
+ to use :ref:`reverse synchronization <c2c-api-reverse>` later.
215
+
216
+ Commit
217
+ ~~~~~~
218
+
219
+ To stop syncing, use the :ref:`commit <c2c-api-commit>` command on the
220
+ destination cluster to convert indexes and finalize the changes. If you
221
+ enable :ref:`write-blocking <c2c-write-blocking>`:
222
+
223
+
224
+ - ``commit`` blocks writes on the source cluster.
225
+ - ``commit`` blocks writes on the destination cluster until
226
+ ``mongosync`` begins index validation.
227
+
228
+
229
+ To monitor the ``commit`` process, use the :ref:`progress
230
+ <c2c-api-progress>` command:
231
+
232
+ - The destination cluster is writable when ``canWrite`` is true.
233
+ - Index conversion is complete when ``mongosync`` enters the
234
+ ``COMMITTED`` state.
234
235
235
236
User Permissions
236
237
````````````````
0 commit comments