-
Notifications
You must be signed in to change notification settings - Fork 39
DOCSP-47288: Rename some enableUserWriteBlocking
internal-only options and disallow live upgrade to 1.12
#611
Changes from 3 commits
2c394d9
71ec342
54b99dc
2df16b7
d36505c
787010c
2100245
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,8 +1,6 @@ | ||||||
Starting in ``mongosync`` 1.7.0, you can upgrade ``mongosync`` without | ||||||
restarting data synchronization operations from the beginning. You can | ||||||
only live upgrade to ``mongosync`` 1.7.3 or later from ``mongosync`` | ||||||
1.7.2 or later. | ||||||
restarting data synchronization operations from the beginning. | ||||||
|
||||||
.. important:: | ||||||
|
||||||
``mongosync`` does not support live upgrades to version 1.11. | ||||||
``mongosync`` does not support live upgrades to version 1.11 or 1.12. | ||||||
|
``mongosync`` does not support live upgrades to version 1.11 or 1.12. | |
``mongosync`` does not support live upgrades to version 1.12. |
I think this is simpler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, that sgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mvankeulen94 does this get a LGTM from you as well?
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -117,26 +117,29 @@ Request Body Parameters | |||||||||||||||||||||||||||||||||||||||||||
* - ``enableUserWriteBlocking`` | ||||||||||||||||||||||||||||||||||||||||||||
- boolean or string | ||||||||||||||||||||||||||||||||||||||||||||
- Optional | ||||||||||||||||||||||||||||||||||||||||||||
- If set to ``true``, blocks writes on the destination | ||||||||||||||||||||||||||||||||||||||||||||
cluster while the migration is in progress, and unblocks writes right | ||||||||||||||||||||||||||||||||||||||||||||
before the :ref:`/progress <c2c-api-progress>` endpoint reports | ||||||||||||||||||||||||||||||||||||||||||||
that ``canWrite`` is ``true``. Blocks writes on the source | ||||||||||||||||||||||||||||||||||||||||||||
cluster after ``mongosync`` calls the :ref:`/commit <c2c-api-commit>` | ||||||||||||||||||||||||||||||||||||||||||||
endpoint. | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
If set to ``false``, no write blocking occurs. | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
If set to ``"destinationOnly"``, blocks writes on the destination | ||||||||||||||||||||||||||||||||||||||||||||
cluster while migration is in progress, and unblocks writes right | ||||||||||||||||||||||||||||||||||||||||||||
before ``canWrite`` is ``true``. | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
:gold:`IMPORTANT:` If you are migrating from a pre-6.0 source cluster, | ||||||||||||||||||||||||||||||||||||||||||||
you cannot set ``enableUserWriteBlocking`` to ``true``. | ||||||||||||||||||||||||||||||||||||||||||||
- Supported options: | ||||||||||||||||||||||||||||||||||||||||||||
nvillahermosa-mdb marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
- ``true`` or ``"sourceAndDestination"``: blocks writes on the destination | ||||||||||||||||||||||||||||||||||||||||||||
cluster while the migration is in progress, and unblocks writes right | ||||||||||||||||||||||||||||||||||||||||||||
before the :ref:`/progress <c2c-api-progress>` endpoint reports | ||||||||||||||||||||||||||||||||||||||||||||
that ``canWrite`` is ``true``. Blocks writes on the source | ||||||||||||||||||||||||||||||||||||||||||||
cluster after ``mongosync`` calls the :ref:`/commit <c2c-api-commit>` | ||||||||||||||||||||||||||||||||||||||||||||
endpoint. | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
:gold:`IMPORTANT:` If you are migrating from a pre-6.0 source cluster, | ||||||||||||||||||||||||||||||||||||||||||||
you cannot set ``enableUserWriteBlocking`` to ``true`` or | ||||||||||||||||||||||||||||||||||||||||||||
``"sourceAndDestination"``. | ||||||||||||||||||||||||||||||||||||||||||||
|
- ``true`` or ``"sourceAndDestination"``: blocks writes on the destination | |
cluster while the migration is in progress, and unblocks writes right | |
before the :ref:`/progress <c2c-api-progress>` endpoint reports | |
that ``canWrite`` is ``true``. Blocks writes on the source | |
cluster after ``mongosync`` calls the :ref:`/commit <c2c-api-commit>` | |
endpoint. | |
:gold:`IMPORTANT:` If you are migrating from a pre-6.0 source cluster, | |
you cannot set ``enableUserWriteBlocking`` to ``true`` or | |
``"sourceAndDestination"``. | |
- ``"sourceAndDestination"``: blocks writes on the destination | |
cluster while the migration is in progress, and unblocks writes right | |
before the :ref:`/progress <c2c-api-progress>` endpoint reports | |
that ``canWrite`` is ``true``. Blocks writes on the source | |
cluster after ``mongosync`` calls the :ref:`/commit <c2c-api-commit>` | |
endpoint. | |
:gold:`IMPORTANT:` If you are migrating from a pre-6.0 source cluster, | |
you cannot set this value. | |
For legacy compatibility, ``true`` is another way to express this option. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- ``false`` or ``"none"``: no write blocking occurs. | |
- ``"none"``: no write blocking occurs. | |
For legacy compatibility, ``false`` is another way to express this option. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to ``true`` or ``"sourceAndDestination"``. To allow the source cluster | |
to ``"sourceAndDestination"``. To allow the source cluster |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,38 @@ | ||||||
.. _c2c-release-notes-1.12: | ||||||
|
||||||
================================ | ||||||
Release Notes for mongosync 1.12 | ||||||
================================ | ||||||
|
||||||
.. default-domain:: mongodb | ||||||
|
||||||
.. contents:: On this page | ||||||
:local: | ||||||
:backlinks: none | ||||||
:depth: 2 | ||||||
:class: singlecol | ||||||
|
||||||
This page describes changes and new features introduced in | ||||||
{+c2c-full-product-name+} 1.12. | ||||||
|
||||||
.. _1.12.0-c2c-release-notes: | ||||||
|
||||||
1.12.0 Release | ||||||
-------------- | ||||||
|
||||||
``enableUserWriteBlocking`` parameters | ||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||||
|
||||||
The ``enableUserWriteBlocking`` parameter in the | ||||||
:ref:`/start <c2c-api-start>` API now accepts the following string options: | ||||||
|
||||||
- ``"sourceAndDestination"`` for dual write-blocking | ||||||
- ``"none"`` for no write-blocking | ||||||
|
||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
See :ref:`c2c-api-start-params`. | ||||||
|
||||||
Live Upgrades | ||||||
~~~~~~~~~~~~~ | ||||||
|
||||||
:ref:`Live upgrades <c2c-versioning-live-upgrade>` | ||||||
to version 1.12 are not supported. |
Uh oh!
There was an error while loading. Please reload this page.