diff options
author | Louis Williams <louis.williams@mongodb.com> | 2019-11-14 00:39:57 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-11-14 00:39:57 +0000 |
commit | 103318868c860e441050652b6dae137d0d21d593 (patch) | |
tree | 7f745ad6296c6ff8ce8c1901930eec81368ca297 /src/mongo/db/repair_database.cpp | |
parent | 1a3566fc89ed8637cfabb3b5436cde58731df759 (diff) | |
download | mongo-103318868c860e441050652b6dae137d0d21d593.tar.gz |
SERVER-39451 Support recover-to-stable rollback for two-phase index builds
Diffstat (limited to 'src/mongo/db/repair_database.cpp')
-rw-r--r-- | src/mongo/db/repair_database.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repair_database.cpp b/src/mongo/db/repair_database.cpp index 19e5a8fe114..ced21031a10 100644 --- a/src/mongo/db/repair_database.cpp +++ b/src/mongo/db/repair_database.cpp @@ -117,8 +117,8 @@ Status rebuildIndexesOnCollection(OperationContext* opCtx, // Rebuild the indexes provided by 'indexSpecs'. IndexBuildsCoordinator* indexBuildsCoord = IndexBuildsCoordinator::get(opCtx); UUID buildUUID = UUID::gen(); - auto swRebuild = indexBuildsCoord->startIndexRebuildForRecovery( - opCtx, collection->ns(), indexSpecs, buildUUID); + auto swRebuild = + indexBuildsCoord->rebuildIndexesForRecovery(opCtx, collection->ns(), indexSpecs, buildUUID); if (!swRebuild.isOK()) { return swRebuild.getStatus(); } |