summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/op_observer_impl.h')
-rw-r--r--src/mongo/db/op_observer_impl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/op_observer_impl.h b/src/mongo/db/op_observer_impl.h
index b2d09b6d58c..51d6ebd6c99 100644
--- a/src/mongo/db/op_observer_impl.h
+++ b/src/mongo/db/op_observer_impl.h
@@ -141,7 +141,8 @@ public:
const NamespaceString& collectionName,
OptionalCollectionUUID uuid);
void onUnpreparedTransactionCommit(OperationContext* opCtx,
- const std::vector<repl::ReplOperation>& statements) final;
+ std::vector<repl::ReplOperation>* statements,
+ size_t numberOfPreImagesToWrite) final;
void onPreparedTransactionCommit(
OperationContext* opCtx,
OplogSlot commitOplogEntryOpTime,
@@ -149,7 +150,8 @@ public:
const std::vector<repl::ReplOperation>& statements) noexcept final;
void onTransactionPrepare(OperationContext* opCtx,
const std::vector<OplogSlot>& reservedSlots,
- std::vector<repl::ReplOperation>& statements) final;
+ std::vector<repl::ReplOperation>* statements,
+ size_t numberOfPreImagesToWrite) final;
void onTransactionAbort(OperationContext* opCtx,
boost::optional<OplogSlot> abortOplogEntryOpTime) final;
void onReplicationRollback(OperationContext* opCtx, const RollbackObserverInfo& rbInfo) final;