diff options
author | Randolph Tan <randolph@10gen.com> | 2021-03-22 20:51:11 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-04-08 19:16:47 +0000 |
commit | aa401671d769f20e98f40b864338c7bd1c14d292 (patch) | |
tree | 27edd2840e7cc3a939bc9178d5fbb680cede3329 /src/mongo/db/namespace_string.h | |
parent | bcd58f9b973e2a6839b40ceedb69dd245e72ab05 (diff) | |
download | mongo-aa401671d769f20e98f40b864338c7bd1c14d292.tar.gz |
SERVER-55214 Make resharding recipient shards use fetchTimestamp from each donor shard when fetching config.transactions and the oplog
Also force the no-op oplog write that is being used as the minFetchTimestamp marker for resharding into its own batch when replicating.
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r-- | src/mongo/db/namespace_string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h index 4a32d0891f9..5545129a4ff 100644 --- a/src/mongo/db/namespace_string.h +++ b/src/mongo/db/namespace_string.h @@ -172,6 +172,9 @@ public: // Namespace for storing config.collectionCriticalSections documents static const NamespaceString kCollectionCriticalSectionsNamespace; + // Dummy namespace used for forcing secondaries to handle an oplog entry on its own batch. + static const NamespaceString kForceOplogBatchBoundaryNamespace; + /** * Constructs an empty NamespaceString. */ |