diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-02-14 09:51:46 -0500 |
---|---|---|
committer | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-02-22 21:44:26 -0500 |
commit | b5f25acf119fd8b2c6119474f6b9ef13180ccc59 (patch) | |
tree | 52d860c6eb0726aaef9d9cd9902f505e9eb18a1e /src/mongo/db/ops | |
parent | 0f2da7fb758f12bd64c6c7891d455a53e1ab1d89 (diff) | |
download | mongo-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.cpp | 2 |
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") |