diff options
author | Eric Milkie <milkie@10gen.com> | 2017-09-27 14:26:59 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2017-10-05 16:05:11 -0400 |
commit | 7ef892d32c0507c57eda86ffc591ba5555eb78c6 (patch) | |
tree | de988ac727c32e930efae3fd618a9dc1241f742c /src/mongo/db/repair_database.cpp | |
parent | 08896eec457008f0f09e66bbbdc750ebb6dc6a43 (diff) | |
download | mongo-7ef892d32c0507c57eda86ffc591ba5555eb78c6.tar.gz |
SERVER-30638 change setReadFromMajorityCommittedSnapshot to use timestamps instead of named snapshots
Diffstat (limited to 'src/mongo/db/repair_database.cpp')
-rw-r--r-- | src/mongo/db/repair_database.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/repair_database.cpp b/src/mongo/db/repair_database.cpp index b8feba841c1..0c9d012070b 100644 --- a/src/mongo/db/repair_database.cpp +++ b/src/mongo/db/repair_database.cpp @@ -276,7 +276,6 @@ Status repairDatabase(OperationContext* opCtx, // versions are in the committed view. auto replCoord = repl::ReplicationCoordinator::get(opCtx); auto snapshotName = replCoord->reserveSnapshotName(opCtx); - replCoord->forceSnapshotCreation(); // Ensure a newer snapshot is created even if idle. for (auto&& collection : *db) { collection->setMinimumVisibleSnapshot(snapshotName); |