summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2022-11-15 14:38:38 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-11-15 20:18:47 +0000
commit366cc6008917a221ed1b90a2c2b339702b943889 (patch)
tree3be6af6367ac216b02434772b8d8a9eb223e4443
parent92431698408a4f6863bb4375d611ff51c6322116 (diff)
downloadmongo-366cc6008917a221ed1b90a2c2b339702b943889.tar.gz
SERVER-71210 logApplyOps() always gets a non-optional txnState
Last optional instances of this parameter were removed in commit ebfc0dc2e6f80e61d6b94742a79d1194997a7959.
-rw-r--r--src/mongo/db/op_observer/op_observer_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer/op_observer_impl.cpp b/src/mongo/db/op_observer/op_observer_impl.cpp
index 150f72c2150..db7e43557b7 100644
--- a/src/mongo/db/op_observer/op_observer_impl.cpp
+++ b/src/mongo/db/op_observer/op_observer_impl.cpp
@@ -1655,7 +1655,7 @@ void packTransactionStatementsForApplyOps(
// Returns the optime of the written oplog entry.
OpTimeBundle logApplyOps(OperationContext* opCtx,
MutableOplogEntry* oplogEntry,
- boost::optional<DurableTxnStateEnum> txnState,
+ DurableTxnStateEnum txnState,
boost::optional<repl::OpTime> startOpTime,
std::vector<StmtId> stmtIdsWritten,
const bool updateTxnTable,