diff options
author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2018-04-06 15:14:55 -0400 |
---|---|---|
committer | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2018-04-06 15:14:55 -0400 |
commit | a273f6f84cb29e31221f580b00905613d3f31330 (patch) | |
tree | c7a27153f34b965eb66b5a542ccc53ea39c1c93c /src/mongo/db/repl/rs_rollback.cpp | |
parent | 1c0c35ba16ab6f03902db70f9e5750a74877e8a4 (diff) | |
download | mongo-a273f6f84cb29e31221f580b00905613d3f31330.tar.gz |
SERVER-34142: Convert background index builds to foreground during oplog recovery.
Diffstat (limited to 'src/mongo/db/repl/rs_rollback.cpp')
-rw-r--r-- | src/mongo/db/repl/rs_rollback.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/rs_rollback.cpp b/src/mongo/db/repl/rs_rollback.cpp index 46597cf6671..e9ce7c1d684 100644 --- a/src/mongo/db/repl/rs_rollback.cpp +++ b/src/mongo/db/repl/rs_rollback.cpp @@ -728,7 +728,7 @@ void rollbackDropIndexes(OperationContext* opCtx, log() << "Creating index in rollback for collection: " << nss << ", UUID: " << uuid << ", index: " << indexName; - createIndexForApplyOps(opCtx, indexSpec, nss, {}); + createIndexForApplyOps(opCtx, indexSpec, nss, {}, OplogApplication::Mode::kRecovering); LOG(1) << "Created index in rollback for collection: " << nss << ", UUID: " << uuid << ", index: " << indexName; |