diff options
Diffstat (limited to 'src/mongo/db/repl/rs_rollback.cpp')
-rw-r--r-- | src/mongo/db/repl/rs_rollback.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/repl/rs_rollback.cpp b/src/mongo/db/repl/rs_rollback.cpp index 5aa58b0ee96..12b86993a2a 100644 --- a/src/mongo/db/repl/rs_rollback.cpp +++ b/src/mongo/db/repl/rs_rollback.cpp @@ -2014,8 +2014,7 @@ void rollback_internal::syncFixUp(OperationContext* opCtx, // have rolled back to an optime that fell in the middle of an oplog application batch. We make // the database consistent again after rollback by applying ops forward until we reach // 'minValid'. - replCoord->resetLastOpTimesFromOplog(opCtx, - ReplicationCoordinator::DataConsistency::Inconsistent); + replCoord->resetLastOpTimesFromOplog(opCtx); } Status syncRollback(OperationContext* opCtx, |