From 9a515cbe56e211044d37e8df95cd70ab3b61b7bc Mon Sep 17 00:00:00 2001 From: Anika Malhotra Date: Wed, 12 Mar 2025 14:47:59 -0400 Subject: [PATCH 1/4] DOCSP-48242-mongosync-metadata-post-sync --- source/reference/mongosync/mongosync-behavior.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/reference/mongosync/mongosync-behavior.txt b/source/reference/mongosync/mongosync-behavior.txt index 3c9408dbb..0055e9a29 100644 --- a/source/reference/mongosync/mongosync-behavior.txt +++ b/source/reference/mongosync/mongosync-behavior.txt @@ -281,6 +281,18 @@ Rolling Index Builds .. include:: /includes/rolling-build-limitation.rst +``mongosync`` metadata +~~~~~~~~~~~~~~~~~~~~~~ + +``mongosync`` stores its metadata in a database during migration. The metadata +database may be named any of the following: + +- ``mongosync_reserved_for_internal_use`` +- Anything beginning with ``mongosync_internal_`` +- Anything beginning with ``mongosync_reserved_for_verification_`` + +You should drop any metadata databases after a successful migration. + Destination Clusters -------------------- From 10e79940032216763bdf9497449271e37c214595 Mon Sep 17 00:00:00 2001 From: Anika Malhotra Date: Wed, 12 Mar 2025 14:56:49 -0400 Subject: [PATCH 2/4] capitalize heading --- source/reference/mongosync/mongosync-behavior.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/reference/mongosync/mongosync-behavior.txt b/source/reference/mongosync/mongosync-behavior.txt index 0055e9a29..f13ee95c5 100644 --- a/source/reference/mongosync/mongosync-behavior.txt +++ b/source/reference/mongosync/mongosync-behavior.txt @@ -281,7 +281,7 @@ Rolling Index Builds .. include:: /includes/rolling-build-limitation.rst -``mongosync`` metadata +``mongosync`` Metadata ~~~~~~~~~~~~~~~~~~~~~~ ``mongosync`` stores its metadata in a database during migration. The metadata From 3aea99327e0869b14fd05016cdfd4826bdf248c1 Mon Sep 17 00:00:00 2001 From: Anika Malhotra Date: Wed, 12 Mar 2025 16:53:51 -0400 Subject: [PATCH 3/4] reviewer updates --- source/reference/mongosync/mongosync-behavior.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/reference/mongosync/mongosync-behavior.txt b/source/reference/mongosync/mongosync-behavior.txt index f13ee95c5..b7f7b366e 100644 --- a/source/reference/mongosync/mongosync-behavior.txt +++ b/source/reference/mongosync/mongosync-behavior.txt @@ -285,7 +285,7 @@ Rolling Index Builds ~~~~~~~~~~~~~~~~~~~~~~ ``mongosync`` stores its metadata in a database during migration. The metadata -database may be named any of the following: +database will be named any of the following: - ``mongosync_reserved_for_internal_use`` - Anything beginning with ``mongosync_internal_`` From dc8759a02c6e78165c865b012b206ee02ec4df39 Mon Sep 17 00:00:00 2001 From: Anika Malhotra Date: Thu, 13 Mar 2025 10:59:49 -0400 Subject: [PATCH 4/4] clarification --- source/reference/mongosync/mongosync-behavior.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/reference/mongosync/mongosync-behavior.txt b/source/reference/mongosync/mongosync-behavior.txt index b7f7b366e..11374aba6 100644 --- a/source/reference/mongosync/mongosync-behavior.txt +++ b/source/reference/mongosync/mongosync-behavior.txt @@ -284,8 +284,8 @@ Rolling Index Builds ``mongosync`` Metadata ~~~~~~~~~~~~~~~~~~~~~~ -``mongosync`` stores its metadata in a database during migration. The metadata -database will be named any of the following: +``mongosync`` stores its metadata in a database or multiple databases +during migration. The metadata databases can be named any of the following: - ``mongosync_reserved_for_internal_use`` - Anything beginning with ``mongosync_internal_``