summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer/op_observer_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/op_observer/op_observer_impl.h')
-rw-r--r--src/mongo/db/op_observer/op_observer_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/op_observer/op_observer_impl.h b/src/mongo/db/op_observer/op_observer_impl.h
index c080a3d6b1e..dbebc4317e2 100644
--- a/src/mongo/db/op_observer/op_observer_impl.h
+++ b/src/mongo/db/op_observer/op_observer_impl.h
@@ -226,6 +226,7 @@ public:
Date_t wallClockTime) final;
void onTransactionPrepareNonPrimary(OperationContext* opCtx,
+ const LogicalSessionId& lsid,
const std::vector<repl::OplogEntry>& statements,
const repl::OpTime& prepareOpTime) final;
@@ -266,6 +267,7 @@ private:
const repl::OpTime& prepareOrCommitOptime) {}
virtual void shardObserveNonPrimaryTransactionPrepare(
OperationContext* opCtx,
+ const LogicalSessionId& lsid,
const std::vector<repl::OplogEntry>& stmts,
const repl::OpTime& prepareOrCommitOptime) {}