From 1643a8b25538937288c94bca617494254eae9bbe Mon Sep 17 00:00:00 2001 From: sonderdonk-mdb Date: Wed, 19 Feb 2025 10:41:41 -0500 Subject: [PATCH 1/2] DOCSP-45442 (#621) --- source/reference/cutover-process.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/reference/cutover-process.txt b/source/reference/cutover-process.txt index 97cd02f42..7c671985d 100644 --- a/source/reference/cutover-process.txt +++ b/source/reference/cutover-process.txt @@ -64,6 +64,17 @@ Steps .. step:: Stop any write operations to the synced collections on the source. +<<<<<<< HEAD +======= + - Wait for all transactions on the source cluster to either commit or + abort. + - ``mongosync`` enables destination-only write-blocking by default. + You can explicitly enable it by starting ``mongosync`` with + ``enableUserWriteBlocking`` set to ``"destinationOnly"``. + ``mongosync`` only blocks writes on the + destination and unblocks them right before ``canWrite`` is + set to ``true``. +>>>>>>> 74d175d (DOCSP-45442 (#621)) - If you start ``mongosync`` with ``enableUserWriteBlocking`` set to ``true``, ``mongosync`` blocks all write operations on the entire source cluster during the commit (step 4) for you. From f8583f2fa5e17f8c5c193c28303e799ed65c6723 Mon Sep 17 00:00:00 2001 From: Sarah Onderdonk Date: Fri, 21 Feb 2025 10:39:30 -0500 Subject: [PATCH 2/2] fixig --- source/reference/cutover-process.txt | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/source/reference/cutover-process.txt b/source/reference/cutover-process.txt index 7c671985d..cacedcf63 100644 --- a/source/reference/cutover-process.txt +++ b/source/reference/cutover-process.txt @@ -46,7 +46,8 @@ Steps If ``lagTimeSeconds`` isn't close to ``0`` when the cutover starts, cutover might take a long time. - The following example returns the status of the synchronization process. + The following example returns the status of the + synchronization process. Request ~~~~~~~ @@ -64,17 +65,8 @@ Steps .. step:: Stop any write operations to the synced collections on the source. -<<<<<<< HEAD -======= - Wait for all transactions on the source cluster to either commit or abort. - - ``mongosync`` enables destination-only write-blocking by default. - You can explicitly enable it by starting ``mongosync`` with - ``enableUserWriteBlocking`` set to ``"destinationOnly"``. - ``mongosync`` only blocks writes on the - destination and unblocks them right before ``canWrite`` is - set to ``true``. ->>>>>>> 74d175d (DOCSP-45442 (#621)) - If you start ``mongosync`` with ``enableUserWriteBlocking`` set to ``true``, ``mongosync`` blocks all write operations on the entire source cluster during the commit (step 4) for you.