Skip to content

Commit cd90b82

Browse files
author
Dave Cuthbert
authored
DOCS-15434 read write concern v0.9.0 (#49)
* DOCS-15434 read write concern faq update * DOCS-15434 read write concern faq update * Review feedback
1 parent 77b803e commit cd90b82

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

source/faq.txt

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,21 @@ Which connection string options does ``mongosync`` allow?
5656
---------------------------------------------------------
5757

5858
``mongosync`` requires :ref:`readConcern: "majority" <read-concern>`
59-
and :ref:`writeConcern: "majority" <write-concern>`. ``mongosync``
60-
overwrites any other ``readConcern`` or ``writeConcern`` and uses
61-
``"majority"`` instead.
59+
and :ref:`writeConcern: "majority" <write-concern>`.
60+
61+
If the ``readConcern`` is not ``majority``, ``mongosync`` returns an
62+
error:
63+
64+
.. code-block:: shell
65+
66+
Invalid URI option, read concern must be majority
67+
68+
If the ``writeConcern`` is not ``majority``, ``mongosync`` returns an
69+
error:
70+
71+
.. code-block:: shell
72+
73+
Invalid URI option, write concern must be majority
6274

6375
``mongosync`` accepts all other :ref:`connection string options
6476
<mongodb-uri>`.

0 commit comments

Comments
 (0)