Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit 922de04

Browse files
authored
Merge branch 'master' into DOCSP-47695
2 parents 309d745 + 075df4d commit 922de04

18 files changed

+134
-70
lines changed

snooty.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ intersphinx = [ "https://www.mongodb.com/docs/atlas/objects.inv",
1414

1515
toc_landing_pages = ["/quickstart",
1616
"/installation",
17-
"reference/reference",
17+
"/reference",
1818
"/connecting",
1919
"/topologies",
2020
"/using-mongosync",
2121
"/multiple-mongosyncs",
22-
"/release-notes/release-notes",
22+
"/release-notes",
2323
"/faq",
2424
"/reference/collection-level-filtering",
2525
"/reference/verification",
@@ -28,10 +28,10 @@ toc_landing_pages = ["/quickstart",
2828
]
2929

3030
[constants]
31-
version = "1.11"
32-
version-previous = "1.10"
33-
latest-version="1.11.0"
34-
version-dev = "1.11"
31+
version = "1.12"
32+
version-previous = "1.11"
33+
latest-version="1.12.0"
34+
version-dev = "1.13"
3535
c2c-product-name = "Cluster-to-Cluster Sync"
3636
c2c-full-product-name = "MongoDB Cluster-to-Cluster Sync"
3737
mdb-download-center = "`MongoDB Download Center <https://www.mongodb.com/try/download/mongosync>`__"

source/about-mongosync.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ call the :ref:`commit <c2c-api-commit>` endpoint.
129129
You must block writes to the source cluster before you begin the
130130
the commit process.
131131

132-
If you previously set ``enableUserWriteBlocking`` to ``true`` when
133-
you used the :ref:`start <c2c-api-start>` endpoint, ``mongosync``
132+
If you previously set ``enableUserWriteBlocking`` to ``"sourceAndDestination"``
133+
when you used the :ref:`start <c2c-api-start>` endpoint, ``mongosync``
134134
automatically blocks writes on the source cluster when you use the
135135
``commit`` endpoint.
136136

137-
If you did not set ``enableUserWriteBlocking`` to ``true``, run
138-
:dbcommand:`setUserWriteBlockMode` on the source cluster to
137+
If you did not set ``enableUserWriteBlocking`` to ``"sourceAndDestination"``,
138+
run :dbcommand:`setUserWriteBlockMode` on the source cluster to
139139
block writes.
140140

141141
The ``commit`` endpoint starts the :ref:`COMMITTING <c2c-state-committing>`

source/includes/fact-older-version-limitations.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@
2828
- :ref:`/reverse <c2c-api-reverse>` endpoint is not supported. You can't
2929
enable the ``reversible`` option in the :ref:`/start <c2c-api-start>` request.
3030

31-
- You can't set the ``enableUserWriteBlocking`` option to ``true``
32-
in the ``/start`` request, so dual write-blocking is not supported.
31+
- You can't set the ``enableUserWriteBlocking`` option to
32+
``"sourceAndDestination"`` in the ``/start`` request, so dual write-blocking
33+
is not supported.
3334
Destination-only write-blocking is supported. Ensure that no writes are
3435
made to the source cluster after you call the ``/commit`` endpoint.
3536

source/includes/fact-partial-8.0-support.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

source/includes/fact-write-blocking-enable.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ If you enable dual write-blocking, ``mongosync`` blocks writes:
1515
- On the source cluster after you call ``/commit``
1616

1717
To enable dual write-blocking, use :ref:`/start <c2c-api-start>`
18-
to set ``enableUserWriteBlocking`` to ``true``.
18+
to set ``enableUserWriteBlocking`` to ``"sourceAndDestination"``.
1919

2020
You can use
2121
:ref:`/start <c2c-api-start>`
22-
to set ``enableUserWriteBlocking`` to ``false``.
22+
to set ``enableUserWriteBlocking`` to ``"none"``.
2323

2424
You cannot enable dual write-blocking or disable
2525
write-blocking after the sync starts.

source/includes/live-upgrade.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Starting in ``mongosync`` 1.7.0, you can upgrade ``mongosync`` without
2-
restarting data synchronization operations from the beginning. You can
3-
only live upgrade to ``mongosync`` 1.7.3 or later from ``mongosync``
4-
1.7.2 or later.
2+
restarting data synchronization operations from the beginning.
53

64
.. important::
75

8-
``mongosync`` does not support live upgrades to version 1.11.
6+
``mongosync`` does not support live upgrades to version 1.12.

source/includes/table-pre-6.0-compatibility.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. list-table::
22
:header-rows: 1
33
:stub-columns: 1
4-
:widths: 30 14 14 14
4+
:widths: 20 14 14 14
55

66
* -
77
- **6.0 Destination**
@@ -30,5 +30,5 @@
3030
* - **8.0 Source**
3131
-
3232
-
33-
-
33+
-
3434

source/reference/api/reverse.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ To use the ``reverse`` endpoint:
4545
call to the :ref:`/start <c2c-api-start>` API endpoint must set:
4646

4747
- ``reversible`` to ``true``
48-
- ``enableUserWriteBlocking`` to ``true``.
48+
- ``enableUserWriteBlocking`` to ``"sourceAndDestination"``.
4949

5050
.. note::
5151

source/reference/api/start.txt

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -115,28 +115,33 @@ Request Body Parameters
115115
.. versionadded:: 1.3.0
116116

117117
* - ``enableUserWriteBlocking``
118-
- boolean or string
118+
- string or boolean
119119
- Optional
120-
- If set to ``true``, blocks writes on the destination
121-
cluster while the migration is in progress, and unblocks writes right
122-
before the :ref:`/progress <c2c-api-progress>` endpoint reports
123-
that ``canWrite`` is ``true``. Blocks writes on the source
124-
cluster after ``mongosync`` calls the :ref:`/commit <c2c-api-commit>`
125-
endpoint.
120+
- :gold:`IMPORTANT:` If you are migrating from a pre-6.0 source cluster,
121+
you cannot set this parameter.
122+
123+
Supported options:
124+
125+
- ``"sourceAndDestination"``: blocks writes on the destination
126+
cluster while the migration is in progress, and unblocks writes right
127+
before the :ref:`/progress <c2c-api-progress>` endpoint reports
128+
that ``canWrite`` is ``true``. Blocks writes on the source
129+
cluster after ``mongosync`` calls the :ref:`/commit <c2c-api-commit>`
130+
endpoint.
126131

127-
If set to ``false``, no write blocking occurs.
132+
You can also use ``true`` for backward compatibility.
128133

129-
If set to ``"destinationOnly"``, blocks writes on the destination
130-
cluster while migration is in progress, and unblocks writes right
131-
before ``canWrite`` is ``true``.
134+
- ``"none"``: no write blocking occurs. You can also use ``false``
135+
for backward compatibility.
132136

133-
:gold:`IMPORTANT:` If you are migrating from a pre-6.0 source cluster,
134-
you cannot set ``enableUserWriteBlocking`` to ``true``.
137+
- ``"destinationOnly"``: blocks writes on the destination
138+
cluster while migration is in progress, and unblocks writes right
139+
before ``canWrite`` is ``true``.
135140

136141
To reverse sync, the ``enableUserWriteBlocking`` field must be set
137-
to ``true``. To allow the source cluster to accept writes again,
138-
for example after running migration tests, run the following
139-
command:
142+
to ``"sourceAndDestination"``. To allow the source cluster
143+
to accept writes again, for example after running migration tests,
144+
run the following command:
140145

141146
.. code-block:: shell
142147

source/reference/beta-program-private/orr.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ You might exceed the :term:`oplog window` if you:
6262
To increase the size of the oplog on the source cluster, use
6363
:setting:`~replication.oplogSizeMB`.
6464

65+
.. note::
66+
67+
ORR is compatible with :ref:`embedded verification<c2c-embedded-verifier>`.
68+
6569
Learn More
6670
----------
6771

0 commit comments

Comments
 (0)