summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.cpp
diff options
context:
space:
mode:
authorAndrew Shuvalov <andrew.shuvalov@mongodb.com>2021-05-21 19:05:01 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-21 19:41:53 +0000
commit7e2afe22b658e2724f0a35714c74d171868934b6 (patch)
treec3010fa0cb8b9226bdbe43e3a88751437f44fee4 /src/mongo/db/namespace_string.cpp
parent3394ccd20ee2a77f3526c481799943c7418bff00 (diff)
downloadmongo-7e2afe22b658e2724f0a35714c74d171868934b6.tar.gz
SERVER-56374: BACKPORT-8902 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 5e87c48e59c..bc333362e7f 100644
--- a/src/mongo/db/namespace_string.cpp
+++ b/src/mongo/db/namespace_string.cpp
@@ -77,6 +77,9 @@ const NamespaceString NamespaceString::kSystemReplSetNamespace(NamespaceString::
const NamespaceString NamespaceString::kIndexBuildEntryNamespace(NamespaceString::kConfigDb,
"system.indexBuilds");
+const NamespaceString NamespaceString::kConfigImagesNamespace(NamespaceString::kConfigDb,
+ "image_collection");
+
bool NamespaceString::isListCollectionsCursorNS() const {
return coll() == listCollectionsCursorCol;
}