diff options
author | Eric Milkie <milkie@mongodb.com> | 2020-01-06 21:03:09 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2020-01-06 21:03:09 +0000 |
commit | 12d44ec1d9a03ed3d0828096bb32de925235c447 (patch) | |
tree | ec1a26abad1e82be3ffb59354f5ef0e450e70fc8 /src/mongo/db/catalog/catalog_control.cpp | |
parent | 29c8868b7c1c79ca49341ee68d9e517a5c88f38f (diff) | |
download | mongo-12d44ec1d9a03ed3d0828096bb32de925235c447.tar.gz |
SERVER-44904 startup recovery should not delete corrupt docs while rebuilding unfinished indexes
Diffstat (limited to 'src/mongo/db/catalog/catalog_control.cpp')
-rw-r--r-- | src/mongo/db/catalog/catalog_control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/catalog_control.cpp b/src/mongo/db/catalog/catalog_control.cpp index 351d709b5d0..3ba439ae0b2 100644 --- a/src/mongo/db/catalog/catalog_control.cpp +++ b/src/mongo/db/catalog/catalog_control.cpp @@ -154,7 +154,7 @@ void openCatalog(OperationContext* opCtx, const MinVisibleTimestampMap& minVisib } std::vector<BSONObj> indexSpecs = entry.second.second; - fassert(40690, rebuildIndexesOnCollection(opCtx, collection, indexSpecs)); + fassert(40690, rebuildIndexesOnCollection(opCtx, collection, indexSpecs, RepairData::kNo)); } // Once all unfinished index builds have been dropped and the catalog has been reloaded, restart |