File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,21 @@ Which connection string options does ``mongosync`` allow?
56
56
---------------------------------------------------------
57
57
58
58
``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
62
74
63
75
``mongosync`` accepts all other :ref:`connection string options
64
76
<mongodb-uri>`.
You can’t perform that action at this time.
0 commit comments