summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer/op_observer_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/op_observer/op_observer_impl.cpp')
-rw-r--r--src/mongo/db/op_observer/op_observer_impl.cpp3
1 files changed, 2 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 0b38699f6b7..8139911f37a 100644
--- a/src/mongo/db/op_observer/op_observer_impl.cpp
+++ b/src/mongo/db/op_observer/op_observer_impl.cpp
@@ -2143,9 +2143,10 @@ void OpObserverImpl::onTransactionPrepare(
}
void OpObserverImpl::onTransactionPrepareNonPrimary(OperationContext* opCtx,
+ const LogicalSessionId& lsid,
const std::vector<repl::OplogEntry>& statements,
const repl::OpTime& prepareOpTime) {
- shardObserveNonPrimaryTransactionPrepare(opCtx, statements, prepareOpTime);
+ shardObserveNonPrimaryTransactionPrepare(opCtx, lsid, statements, prepareOpTime);
}
void OpObserverImpl::onTransactionAbort(OperationContext* opCtx,