diff options
Diffstat (limited to 'src/mongo/db/repl/replication_recovery.cpp')
-rw-r--r-- | src/mongo/db/repl/replication_recovery.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_recovery.cpp b/src/mongo/db/repl/replication_recovery.cpp index 2e8890ddaa4..4f03e19b894 100644 --- a/src/mongo/db/repl/replication_recovery.cpp +++ b/src/mongo/db/repl/replication_recovery.cpp @@ -402,7 +402,8 @@ void ReplicationRecoveryImpl::_applyToEndOfOplog(OperationContext* opCtx, OplogApplier::Operations batch; while ( !(batch = fassert(50763, oplogApplier.getNextApplierBatch(opCtx, batchLimits))).empty()) { - applyThroughOpTime = uassertStatusOK(oplogApplier.multiApply(opCtx, std::move(batch))); + applyThroughOpTime = uassertStatusOK( + oplogApplier.multiApply(opCtx, std::move(batch), OplogApplication::Mode::kRecovering)); } stats.complete(applyThroughOpTime); invariant(oplogBuffer.isEmpty(), |