diff options
author | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2019-08-22 18:24:39 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-08-22 18:24:39 +0000 |
commit | 2e0eb6286f37a132e32d4a42dc5680229e2587f2 (patch) | |
tree | e07d5f19b92bbd00ee83d82519a0a91b38cfaff7 /src/mongo/db/repl/sync_tail.cpp | |
parent | 922fc6149715699d0c2e035152f1ee954599bf04 (diff) | |
download | mongo-2e0eb6286f37a132e32d4a42dc5680229e2587f2.tar.gz |
SERVER-42965 Remove unused param "stableTimestampForRecovery"
Diffstat (limited to 'src/mongo/db/repl/sync_tail.cpp')
-rw-r--r-- | src/mongo/db/repl/sync_tail.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mongo/db/repl/sync_tail.cpp b/src/mongo/db/repl/sync_tail.cpp index 6d3fb15810b..64b9071dd99 100644 --- a/src/mongo/db/repl/sync_tail.cpp +++ b/src/mongo/db/repl/sync_tail.cpp @@ -276,8 +276,7 @@ LockMode fixLockModeForSystemDotViewsChanges(const NamespaceString& nss, LockMod // static Status SyncTail::syncApply(OperationContext* opCtx, const OplogEntryBatch& batch, - OplogApplication::Mode oplogApplicationMode, - boost::optional<Timestamp> stableTimestampForRecovery) { + OplogApplication::Mode oplogApplicationMode) { auto op = batch.getOp(); // Count each log op application as a separate operation, for reporting purposes CurOp individualOp(opCtx); @@ -361,8 +360,7 @@ Status SyncTail::syncApply(OperationContext* opCtx, } else if (opType == OpTypeEnum::kCommand) { return finishApply(writeConflictRetry(opCtx, "syncApply_command", nss.ns(), [&] { // A special case apply for commands to avoid implicit database creation. - Status status = - applyCommand_inlock(opCtx, op, oplogApplicationMode, stableTimestampForRecovery); + Status status = applyCommand_inlock(opCtx, op, oplogApplicationMode); incrementOpsAppliedStats(); return status; })); @@ -885,9 +883,7 @@ Status multiSyncApply(OperationContext* opCtx, // If we didn't create a group, try to apply the op individually. try { - auto stableTimestampForRecovery = st->getOptions().stableTimestampForRecovery; - const Status status = SyncTail::syncApply( - opCtx, &entry, oplogApplicationMode, stableTimestampForRecovery); + const Status status = SyncTail::syncApply(opCtx, &entry, oplogApplicationMode); if (!status.isOK()) { // Tried to apply an update operation but the document is missing, there must be |