This repository was archived by the owner on May 1, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
DOCSP-46893: Destination-only Write-blocking #581
Merged
ajhuh-mdb
merged 12 commits into
mongodb:master
from
mayaraman19:DOCSP-46893-destination
Feb 5, 2025
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
78995e1
initial commit..
mayaraman19 2323724
little fix
mayaraman19 dc12824
changes
mayaraman19 4d25ce3
release notes
mayaraman19 1f2e3f7
feedback
mayaraman19 a627006
little changes
mayaraman19 7d42b14
feedback
mayaraman19 7bf1ca2
table first draft
mayaraman19 117a5ce
typo
mayaraman19 13e238b
de-modify
mayaraman19 5768117
small fix
mayaraman19 50af2f1
feedback
mayaraman19 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
The user specified in the ``mongosync`` connection string must have the | ||
required permissions on the source and destination clusters. The | ||
permissions vary depending on your environment and if you want to run a | ||
write-blocking or reverse sync. | ||
permissions vary depending on your environment and if you want to | ||
modify write-blocking settings or use reverse sync. | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,25 @@ | ||
``mongosync`` does not enable write-blocking by default. If you enable | ||
write-blocking, ``mongosync`` blocks writes: | ||
By default, ``mongosync`` enables destination-only | ||
write-blocking on the destination cluster. | ||
``mongosync`` unblocks writes right before the | ||
:ref:`/progress <c2c-api-progress>` endpoint reports | ||
that ``canWrite`` is ``true``. You can explicitly | ||
enable destination-only write-blocking by using | ||
the :ref:`/start <c2c-api-start>` endpoint to set | ||
``enableUserWriteBlocking`` to ``"destinationOnly"``. | ||
|
||
- On the destination cluster during sync. | ||
- On the source cluster when ``commit`` is received. | ||
You can enable dual write-blocking. | ||
If you enable dual write-blocking, ``mongosync`` blocks writes: | ||
|
||
To enable write-blocking, use the :ref:`start API <c2c-api-start>` | ||
to set ``enableUserWriteBlocking`` to ``true``. You cannot enable | ||
write-blocking after the sync starts. | ||
- On the destination cluster during the migration. ``mongosync`` | ||
unblocks writes right before it sets ``canWrite`` to ``true`` | ||
- On the source cluster after you call ``/commit`` | ||
|
||
To enable dual write-blocking, use :ref:`/start <c2c-api-start>` | ||
to set ``enableUserWriteBlocking`` to ``true``. | ||
|
||
You can use | ||
:ref:`/start <c2c-api-start>` | ||
to set ``enableUserWriteBlocking`` to ``false``. | ||
|
||
You cannot enable dual write-blocking or disable | ||
write-blocking after the sync starts. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
.. _c2c-release-notes-1.11: | ||
|
||
================================ | ||
Release Notes for mongosync 1.11 | ||
================================ | ||
|
||
.. 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.11. | ||
|
||
.. _1.11.0-c2c-release-notes: | ||
|
||
1.11.0 Release | ||
-------------- | ||
|
||
Destination-Only Write-Blocking | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. include:: /includes/fact-write-blocking-enable.rst | ||
ajayvijayakumar123 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Live Upgrades | ||
~~~~~~~~~~~~~ | ||
|
||
:ref:`Live upgrades <c2c-versioning-live-upgrade>` | ||
to version 1.11 are not supported. | ||
|
||
Permissions | ||
~~~~~~~~~~~ | ||
|
||
``mongosync`` requires additional permissions | ||
on Atlas destination clusters for default migrations. | ||
See :ref:`c2c-atlas-permissions`. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.