Skip to content

Commit 943f915

Browse files
authored
DOCSP-38407 read and write concern info (#203)
1 parent eea942f commit 943f915

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

source/reference/mongosync.txt

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,18 @@ Write Blocking
213213
You must enable write-blocking when you start ``mongosync`` if you want
214214
to use :ref:`reverse synchronization <c2c-api-reverse>` later.
215215

216+
User Permissions
217+
````````````````
218+
219+
.. include:: /includes/fact-write-blocking-requirement.rst
220+
221+
Permissible Writes
222+
``````````````````
223+
224+
.. include:: /includes/fact-write-blocking-check.rst
225+
226+
.. include:: /includes/fact-write-blocking-when.rst
227+
216228
Commit
217229
~~~~~~
218230

@@ -232,18 +244,16 @@ The ``commit`` operation should take less than a few minutes. To monitor the
232244
- Index conversion is complete when ``mongosync`` enters the
233245
``COMMITTED`` state.
234246

235-
User Permissions
236-
````````````````
237-
238-
.. include:: /includes/fact-write-blocking-requirement.rst
247+
Read and Write Concern
248+
~~~~~~~~~~~~~~~~~~~~~~
239249

240-
Permissible Writes
241-
``````````````````
242-
243-
.. include:: /includes/fact-write-blocking-check.rst
244-
245-
.. include:: /includes/fact-write-blocking-when.rst
250+
By default, ``mongosync`` sets the read concern level to
251+
:readconcern:`"majority"` for reads on the source cluster. For writes on
252+
the destination cluster, ``mongosync`` sets the write concern level to
253+
:writeconcern:`"majority"` with :ref:`j: true <wc-j>`.
246254

255+
For more information on read and write concern configuration and
256+
behavior, see :ref:`read-concern` and :ref:`write-concern`.
247257

248258
.. _c2c-capped-collections:
249259

0 commit comments

Comments
 (0)