summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.cpp
diff options
context:
space:
mode:
authorDaniel Gottlieb <daniel.gottlieb@mongodb.com>2021-05-07 15:27:39 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-07 20:55:23 +0000
commite557b13c8cff42b717bd85495e44e14eb888c482 (patch)
treeaed97ac112b668cf52abca04d0e9dbfaf7872974 /src/mongo/db/namespace_string.cpp
parentf696fa0f8836290a56b5a3ceaf754a41036627ae (diff)
downloadmongo-e557b13c8cff42b717bd85495e44e14eb888c482.tar.gz
SERVER-56374: Add ability to write retryable findAndModify updates to `config.image_collection`.
Diffstat (limited to 'src/mongo/db/namespace_string.cpp')
-rw-r--r--src/mongo/db/namespace_string.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string.cpp b/src/mongo/db/namespace_string.cpp
index 9c6d9ae93bd..5d889b61d6b 100644
--- a/src/mongo/db/namespace_string.cpp
+++ b/src/mongo/db/namespace_string.cpp
@@ -127,6 +127,9 @@ const NamespaceString NamespaceString::kCollectionCriticalSectionsNamespace(
const NamespaceString NamespaceString::kForceOplogBatchBoundaryNamespace(
NamespaceString::kConfigDb, "system.forceOplogBatchBoundary");
+const NamespaceString NamespaceString::kConfigImagesNamespace(NamespaceString::kConfigDb,
+ "image_collection");
+
bool NamespaceString::isListCollectionsCursorNS() const {
return coll() == listCollectionsCursorCol;
}