diff options
author | Samy Lanka <samy.lanka@mongodb.com> | 2020-07-16 16:53:02 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-24 03:46:29 +0000 |
commit | 56f01320adad4935777a2a3fd61fd8f816a26789 (patch) | |
tree | b3145295f0d1816e47490dfe78cf37a2e3d226d5 /src/mongo/db/catalog/catalog_control.cpp | |
parent | 19dd40b181c0043cf8989cc216195c5b01472c35 (diff) | |
download | mongo-56f01320adad4935777a2a3fd61fd8f816a26789.tar.gz |
SERVER-49163 Find and parse internal idents with resumable index build information on startup
Diffstat (limited to 'src/mongo/db/catalog/catalog_control.cpp')
-rw-r--r-- | src/mongo/db/catalog/catalog_control.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/catalog/catalog_control.cpp b/src/mongo/db/catalog/catalog_control.cpp index 02393d4929b..a3344f5c1b2 100644 --- a/src/mongo/db/catalog/catalog_control.cpp +++ b/src/mongo/db/catalog/catalog_control.cpp @@ -163,12 +163,12 @@ void openCatalog(OperationContext* opCtx, const MinVisibleTimestampMap& minVisib fassert(40690, rebuildIndexesOnCollection(opCtx, collection, indexSpecs, RepairData::kNo)); } - // Once all unfinished index builds have been dropped and the catalog has been reloaded, restart - // any unfinished index builds. This will not restart any index builds to completion, but rather - // start the background thread, build the index, and wait for a replicated commit or abort oplog - // entry. + // Once all unfinished index builds have been dropped and the catalog has been reloaded, resume + // or restart any unfinished index builds. This will not resume/restart any index builds to + // completion, but rather start the background thread, build the index, and wait for a + // replicated commit or abort oplog entry. IndexBuildsCoordinator::get(opCtx)->restartIndexBuildsForRecovery( - opCtx, reconcileResult.indexBuildsToRestart); + opCtx, reconcileResult.indexBuildsToRestart, reconcileResult.indexBuildsToResume); // Open all databases and repopulate the CollectionCatalog. LOGV2(20276, "openCatalog: reopening all databases"); |