diff options
author | Eric Milkie <milkie@10gen.com> | 2015-01-05 13:45:25 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2015-01-06 17:27:06 -0500 |
commit | e35f2d62ccabee95075dd03d2eac85339e063e37 (patch) | |
tree | efcc324430996468470b713403e6a0a9710be6ad /src/mongo/db/dbcommands.cpp | |
parent | 143765cfe3fa006c7109e409abd4a14eb6b36c2e (diff) | |
download | mongo-e35f2d62ccabee95075dd03d2eac85339e063e37.tar.gz |
SERVER-16274 synchronize start of bg index builds on secondaries
Diffstat (limited to 'src/mongo/db/dbcommands.cpp')
-rw-r--r-- | src/mongo/db/dbcommands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbcommands.cpp b/src/mongo/db/dbcommands.cpp index 5ef335b7138..0453a3ca4c8 100644 --- a/src/mongo/db/dbcommands.cpp +++ b/src/mongo/db/dbcommands.cpp @@ -291,7 +291,7 @@ namespace mongo { Status status = repairDatabase(txn, engine, dbname, preserveClonedFilesOnFailure, backupOriginalFiles ); - IndexBuilder::restoreIndexes(indexesInProg); + IndexBuilder::restoreIndexes(txn, indexesInProg); // Open database before returning dbHolder().openDb(txn, dbname); |