From 28dcf85a04cca425a0401449ca97a017b5b588fd Mon Sep 17 00:00:00 2001 From: "Kenneth P. J. Dyer" Date: Mon, 4 Mar 2024 15:38:53 -0600 Subject: [PATCH 1/6] DOCS-16652 New mongosync states --- source/reference/mongosync-states.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/source/reference/mongosync-states.txt b/source/reference/mongosync-states.txt index 80f18d059..158a81766 100644 --- a/source/reference/mongosync-states.txt +++ b/source/reference/mongosync-states.txt @@ -85,3 +85,22 @@ operations in that state. - - ``GET`` :ref:`/progress ` - ``GET`` :ref:`/reverse ` + * - .. _c2c-state-reversing: + + ``REVERSING`` + + - The sync process copies metadata from the destination + cluster to the source cluster. When complete, the phase + reverts to applying change events and the original source + cluster becomes the new destination cluster while the old + destination becomes the new source. + - - ``POST`` :ref:`/reverse ` + - ``GET`` :ref:`/progress ` + + * - .. _c2c-state-waitingforreversecomplete: + ``WAITINGFORREVERSECOMPLETE`` + - The sync process is waiting for the reverse operation to + finish on all ``mongosync`` instances. + - - ``POST`` :ref:`/revese ` + - ``GET`` :ref:`/progress ` + From 51423c73b53e621b4ff052eff1ad8c8eb62c84d6 Mon Sep 17 00:00:00 2001 From: "Kenneth P. J. Dyer" Date: Mon, 4 Mar 2024 17:06:22 -0600 Subject: [PATCH 2/6] Fixes per Tim --- source/reference/mongosync-states.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source/reference/mongosync-states.txt b/source/reference/mongosync-states.txt index 158a81766..562a90506 100644 --- a/source/reference/mongosync-states.txt +++ b/source/reference/mongosync-states.txt @@ -97,10 +97,3 @@ operations in that state. - - ``POST`` :ref:`/reverse ` - ``GET`` :ref:`/progress ` - * - .. _c2c-state-waitingforreversecomplete: - ``WAITINGFORREVERSECOMPLETE`` - - The sync process is waiting for the reverse operation to - finish on all ``mongosync`` instances. - - - ``POST`` :ref:`/revese ` - - ``GET`` :ref:`/progress ` - From 245cdc0625c4b280a50385fa322963beb3c7889c Mon Sep 17 00:00:00 2001 From: "Kenneth P. J. Dyer" Date: Tue, 5 Mar 2024 11:50:04 -0600 Subject: [PATCH 3/6] Fixes spacing --- source/reference/mongosync-states.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/reference/mongosync-states.txt b/source/reference/mongosync-states.txt index 562a90506..3297f21d0 100644 --- a/source/reference/mongosync-states.txt +++ b/source/reference/mongosync-states.txt @@ -90,7 +90,7 @@ operations in that state. ``REVERSING`` - The sync process copies metadata from the destination - cluster to the source cluster. When complete, the phase + cluster to the source cluster. When complete, the phase reverts to applying change events and the original source cluster becomes the new destination cluster while the old destination becomes the new source. From 001d3595d4876f0ac0327fa171a9ed58aebf3f90 Mon Sep 17 00:00:00 2001 From: "Kenneth P. J. Dyer" <93145796+kennethdyer@users.noreply.github.com> Date: Tue, 5 Mar 2024 15:33:19 -0600 Subject: [PATCH 4/6] Fixes per Nick Co-authored-by: Nick Villahermosa --- source/reference/mongosync-states.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/source/reference/mongosync-states.txt b/source/reference/mongosync-states.txt index 3297f21d0..7c62c084d 100644 --- a/source/reference/mongosync-states.txt +++ b/source/reference/mongosync-states.txt @@ -90,10 +90,9 @@ operations in that state. ``REVERSING`` - The sync process copies metadata from the destination - cluster to the source cluster. When complete, the phase - reverts to applying change events and the original source - cluster becomes the new destination cluster while the old - destination becomes the new source. + cluster to the source cluster. Then, MongoDB swaps the + source and destination clusters and resumes applying + change events. - - ``POST`` :ref:`/reverse ` - ``GET`` :ref:`/progress ` From bb1ddf66a0611ff83b7d5515ef63e3e4128f6e3d Mon Sep 17 00:00:00 2001 From: "Kenneth P. J. Dyer" Date: Tue, 12 Mar 2024 15:09:56 -0500 Subject: [PATCH 5/6] Fixes per Huan --- source/reference/mongosync-states.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/reference/mongosync-states.txt b/source/reference/mongosync-states.txt index 7c62c084d..58b135dd9 100644 --- a/source/reference/mongosync-states.txt +++ b/source/reference/mongosync-states.txt @@ -83,7 +83,7 @@ operations in that state. ``COMMITTED`` - The cutover for the sync process is complete. - - ``GET`` :ref:`/progress ` - - ``GET`` :ref:`/reverse ` + - ``POST`` :ref:`/reverse ` * - .. _c2c-state-reversing: @@ -93,6 +93,5 @@ operations in that state. cluster to the source cluster. Then, MongoDB swaps the source and destination clusters and resumes applying change events. - - - ``POST`` :ref:`/reverse ` - ``GET`` :ref:`/progress ` From 3bae0a532b3035b52c714b4772189e598133d6db Mon Sep 17 00:00:00 2001 From: "Kenneth P. J. Dyer" Date: Wed, 13 Mar 2024 11:05:59 -0500 Subject: [PATCH 6/6] Fixes per Huan --- source/reference/mongosync-states.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/reference/mongosync-states.txt b/source/reference/mongosync-states.txt index 58b135dd9..0b69d69f9 100644 --- a/source/reference/mongosync-states.txt +++ b/source/reference/mongosync-states.txt @@ -93,5 +93,6 @@ operations in that state. cluster to the source cluster. Then, MongoDB swaps the source and destination clusters and resumes applying change events. - - ``GET`` :ref:`/progress ` + + - - ``GET`` :ref:`/progress `