From 5a1dbe698bf88ef3f0ce2348c705d6a042c32011 Mon Sep 17 00:00:00 2001 From: Josef Ahmad Date: Thu, 13 Jan 2022 11:21:43 +0000 Subject: SERVER-61709 Introduce implicitly replicated namespaces Implicitly replicated namespaces are internal namespaces that do not replicate writes, with the exception of deletions, user-initiated direct writes and some maintenance operations. This patch lists config.system.preimages, config.images_collection, config.transactions and config.changes.* as implicitly replicated namespaces, and unifies and validates their semantics. It also special-cases some of the config.transactions replication behaviour that is too specific to be generalised. --- src/mongo/db/session_catalog.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mongo/db/session_catalog.h') diff --git a/src/mongo/db/session_catalog.h b/src/mongo/db/session_catalog.h index 7bed6ae91a3..bcf696042b7 100644 --- a/src/mongo/db/session_catalog.h +++ b/src/mongo/db/session_catalog.h @@ -59,6 +59,8 @@ class SessionCatalog { friend class OperationContextSession; public: + static constexpr StringData kInternalSessionsCleanupClient = "InternalSessionsCleanup"_sd; + class ScopedCheckedOutSession; class SessionToKill; -- cgit v1.2.1