Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/includes/api/requests/start-reversible.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ curl localhost:27182/api/v1/start -XPOST \
"source": "cluster0",
"destination": "cluster1",
"reversible": true,
"enableUserWriteBlocking": true
"enableUserWriteBlocking": "sourceAndDestination"
} '
2 changes: 1 addition & 1 deletion source/reference/api/start.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion source/reference/cutover-process.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Steps
:ref:`manually migrate PQS <c2c-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.
Expand Down
4 changes: 2 additions & 2 deletions source/topologies/multiple-mongosyncs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down