diff --git a/source/includes/api/requests/start-reversible.sh b/source/includes/api/requests/start-reversible.sh index 90c25b474..3ae87a77e 100644 --- a/source/includes/api/requests/start-reversible.sh +++ b/source/includes/api/requests/start-reversible.sh @@ -4,5 +4,5 @@ curl localhost:27182/api/v1/start -XPOST \ "source": "cluster0", "destination": "cluster1", "reversible": true, - "enableUserWriteBlocking": true + "enableUserWriteBlocking": "sourceAndDestination" } ' diff --git a/source/reference/api/start.txt b/source/reference/api/start.txt index 8fcb4564d..42a70b2c0 100644 --- a/source/reference/api/start.txt +++ b/source/reference/api/start.txt @@ -174,7 +174,7 @@ Request Body Parameters reversed. To reverse sync, the ``enableUserWriteBlocking`` field must be set - to ``true``. + to ``sourceAndDestination``. This option is not supported for the following configurations: diff --git a/source/reference/cutover-process.txt b/source/reference/cutover-process.txt index 6c6976410..810ace2e7 100644 --- a/source/reference/cutover-process.txt +++ b/source/reference/cutover-process.txt @@ -137,7 +137,7 @@ Steps :ref:`manually migrate PQS ` to your destination cluster. If you previously set ``enableUserWriteBlocking`` - to ``true``, ``mongosync`` blocks writes on the source cluster + to ``sourceAndDestination``, ``mongosync`` blocks writes on the source cluster once you complete this step. .. step:: Wait until you can perform writes on the destination cluster. diff --git a/source/topologies/multiple-mongosyncs.txt b/source/topologies/multiple-mongosyncs.txt index 850409ac2..8a6421178 100644 --- a/source/topologies/multiple-mongosyncs.txt +++ b/source/topologies/multiple-mongosyncs.txt @@ -163,11 +163,11 @@ Use ``curl`` or another HTTP client to issue the :ref:`start curl mongosync01Host:27601/api/v1/start -XPOST --data \ '{ "source": "cluster0", "destination": "cluster1", \ - "reversible": false, "enableUserWriteBlocking": false }' + "reversible": false, "enableUserWriteBlocking": "none" }' curl mongosync02Host:27602/api/v1/start -XPOST --data \ '{ "source": "cluster0", "destination": "cluster1", \ - "reversible": false, "enableUserWriteBlocking": false }' + "reversible": false, "enableUserWriteBlocking": "none" }' The ``start`` command options must be the same for all of the ``mongosync`` instances.