Skip to content

Commit cbf1892

Browse files
authored
DOCSP-47851-update-enableUserWriteBlocking-values (#718)
1 parent ae3c7f6 commit cbf1892

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Diff for: source/includes/api/requests/start-reversible.sh

+1-1
Original file line numberDiff line numberDiff 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
} '

Diff for: source/reference/api/start.txt

+1-1
Original file line numberDiff line numberDiff 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

Diff for: source/reference/cutover-process.txt

+1-1
Original file line numberDiff line numberDiff 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.

Diff for: source/topologies/multiple-mongosyncs.txt

+2-2
Original file line numberDiff line numberDiff 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

172172
The ``start`` command options must be the same for all of the ``mongosync``
173173
instances.

0 commit comments

Comments
 (0)