This repository was archived by the owner on May 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ curl localhost:27182/api/v1/start -XPOST \
44 "source": "cluster0",
55 "destination": "cluster1",
66 "reversible": true,
7- "enableUserWriteBlocking": true
7+ "enableUserWriteBlocking": "sourceAndDestination"
88 } '
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ Request Body Parameters
174174 reversed.
175175
176176 To reverse sync, the ``enableUserWriteBlocking`` field must be set
177- to ``true ``.
177+ to ``sourceAndDestination ``.
178178
179179 This option is not supported for the following configurations:
180180
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ Steps
137137 :ref:`manually migrate PQS <c2c-migrate-pqs>` to your destination cluster.
138138
139139 If you previously set ``enableUserWriteBlocking``
140- to ``true ``, ``mongosync`` blocks writes on the source cluster
140+ to ``sourceAndDestination ``, ``mongosync`` blocks writes on the source cluster
141141 once you complete this step.
142142
143143 .. step:: Wait until you can perform writes on the destination cluster.
Original file line number Diff line number Diff line change @@ -163,11 +163,11 @@ Use ``curl`` or another HTTP client to issue the :ref:`start
163163
164164 curl mongosync01Host:27601/api/v1/start -XPOST --data \
165165 '{ "source": "cluster0", "destination": "cluster1", \
166- "reversible": false, "enableUserWriteBlocking": false }'
166+ "reversible": false, "enableUserWriteBlocking": "none" }'
167167
168168 curl mongosync02Host:27602/api/v1/start -XPOST --data \
169169 '{ "source": "cluster0", "destination": "cluster1", \
170- "reversible": false, "enableUserWriteBlocking": false }'
170+ "reversible": false, "enableUserWriteBlocking": "none" }'
171171
172172The ``start`` command options must be the same for all of the ``mongosync``
173173instances.
You can’t perform that action at this time.
0 commit comments