summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2021-03-22 20:51:11 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-08 19:16:47 +0000
commitaa401671d769f20e98f40b864338c7bd1c14d292 (patch)
tree27edd2840e7cc3a939bc9178d5fbb680cede3329 /src/mongo/db/namespace_string.h
parentbcd58f9b973e2a6839b40ceedb69dd245e72ab05 (diff)
downloadmongo-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.h3
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.
*/