summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2019-03-18 10:59:53 -0400
committerDianna Hohensee <dianna.hohensee@10gen.com>2019-03-18 13:52:02 -0400
commit75c6005623129ad4e6abd1cd5f2e5ae6ca0b0ad4 (patch)
treead57f4dad0c39883f5e544b676c3d822caa17429
parent3c264582129c59af161cf456a75e4208489e037b (diff)
downloadmongo-75c6005623129ad4e6abd1cd5f2e5ae6ca0b0ad4.tar.gz
SERVER-40096 Allow setIndexBuildCommitQuorum cmd to write to the config.system.indexBuilds collection
-rw-r--r--src/mongo/db/namespace_string.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string.cpp b/src/mongo/db/namespace_string.cpp
index 9875c3d25f6..3f24658f060 100644
--- a/src/mongo/db/namespace_string.cpp
+++ b/src/mongo/db/namespace_string.cpp
@@ -100,6 +100,8 @@ bool NamespaceString::isLegalClientSystemNS() const {
} else if (db() == "config") {
if (ns() == "config.system.sessions")
return true;
+ if (ns() == kIndexBuildEntryNamespace.ns())
+ return true;
}
if (ns() == "local.system.replset")