diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-06-04 13:49:06 -0400 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-06-07 19:29:41 -0400 |
commit | ac88c6d4c085e72b6f0ae364b8d11dc604627efb (patch) | |
tree | 1ab2353fe282238f1bea53fb622052dbcec5567c /src/mongo/db/repair_database.h | |
parent | 61659a724e284e39a24cedc771b36c645192f398 (diff) | |
download | mongo-ac88c6d4c085e72b6f0ae364b8d11dc604627efb.tar.gz |
SERVER-40716 Refactor catalog initialization logic on startup
Diffstat (limited to 'src/mongo/db/repair_database.h')
-rw-r--r-- | src/mongo/db/repair_database.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mongo/db/repair_database.h b/src/mongo/db/repair_database.h index af414d3d4be..25b518b6ac7 100644 --- a/src/mongo/db/repair_database.h +++ b/src/mongo/db/repair_database.h @@ -68,14 +68,8 @@ Status rebuildIndexesOnCollection(OperationContext* opCtx, * Some data may be lost or modified in the process but the output will * be structurally valid on successful return. * - * Calls 'onRecordStoreRepair' after repairing all the collection record stores for each database - * before rebuilding the appropriate indexes. - * * It is expected that the local database will be repaired first when running in repair mode. */ -Status repairDatabase(OperationContext* opCtx, - StorageEngine* engine, - const std::string& dbName, - stdx::function<void(const std::string& dbName)> onRecordStoreRepair); +Status repairDatabase(OperationContext* opCtx, StorageEngine* engine, const std::string& dbName); } // namespace mongo |