summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-02-14 09:51:46 -0500
committerGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-02-22 21:44:26 -0500
commitb5f25acf119fd8b2c6119474f6b9ef13180ccc59 (patch)
tree52d860c6eb0726aaef9d9cd9902f505e9eb18a1e /src/mongo/db/ops
parent0f2da7fb758f12bd64c6c7891d455a53e1ab1d89 (diff)
downloadmongo-b5f25acf119fd8b2c6119474f6b9ef13180ccc59.tar.gz
SERVER-39526 Write an indexBuilds entry to disk when a simultaneous index build starts
Diffstat (limited to 'src/mongo/db/ops')
-rw-r--r--src/mongo/db/ops/insert.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/ops/insert.cpp b/src/mongo/db/ops/insert.cpp
index b261fd1735b..cb056f6fc33 100644
--- a/src/mongo/db/ops/insert.cpp
+++ b/src/mongo/db/ops/insert.cpp
@@ -243,6 +243,8 @@ Status userAllowedCreateNS(StringData db, StringData coll) {
if (db == "config") {
if (coll == "system.sessions")
return Status::OK();
+ if (coll == "system.indexBuilds")
+ return Status::OK();
}
if (db == "local") {
if (coll == "system.replset")