diff options
author | Josef Ahmad <josef.ahmad@mongodb.com> | 2022-01-13 11:21:43 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-01-13 12:12:05 +0000 |
commit | 5a1dbe698bf88ef3f0ce2348c705d6a042c32011 (patch) | |
tree | 770e9b2da7fdb55d4b204d69b7b72334e8ccccc8 /src/mongo/db/session_catalog.h | |
parent | 546d77f0945fabc0fc485e762bd7548871ffc601 (diff) | |
download | mongo-5a1dbe698bf88ef3f0ce2348c705d6a042c32011.tar.gz |
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.
Diffstat (limited to 'src/mongo/db/session_catalog.h')
-rw-r--r-- | src/mongo/db/session_catalog.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |