From 366cc6008917a221ed1b90a2c2b339702b943889 Mon Sep 17 00:00:00 2001 From: Benety Goh Date: Tue, 15 Nov 2022 14:38:38 -0500 Subject: SERVER-71210 logApplyOps() always gets a non-optional txnState Last optional instances of this parameter were removed in commit ebfc0dc2e6f80e61d6b94742a79d1194997a7959. --- src/mongo/db/op_observer/op_observer_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 txnState, + DurableTxnStateEnum txnState, boost::optional startOpTime, std::vector stmtIdsWritten, const bool updateTxnTable, -- cgit v1.2.1