summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl.h
diff options
context:
space:
mode:
authorJason Chan <jason.chan@10gen.com>2019-03-07 14:55:20 -0500
committerJason Chan <jason.chan@10gen.com>2019-03-07 14:58:33 -0500
commit86c1120002b6f28183f024f373ecc58123624a46 (patch)
treeeadb58739759d50b000cbc2299851a2de63079c7 /src/mongo/db/op_observer_impl.h
parent9245a51842f1f8b9da42cadf27627642c4d94fd4 (diff)
downloadmongo-86c1120002b6f28183f024f373ecc58123624a46.tar.gz
SERVER-39441 Write the new 'prepareTransaction' command on primary
Diffstat (limited to 'src/mongo/db/op_observer_impl.h')
-rw-r--r--src/mongo/db/op_observer_impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/op_observer_impl.h b/src/mongo/db/op_observer_impl.h
index 86b47b05b31..2b0f55c9c58 100644
--- a/src/mongo/db/op_observer_impl.h
+++ b/src/mongo/db/op_observer_impl.h
@@ -145,8 +145,8 @@ public:
Timestamp commitTimestamp,
const std::vector<repl::ReplOperation>& statements) noexcept final;
void onTransactionPrepare(OperationContext* opCtx,
- const OplogSlot& prepareOpTime,
- std::vector<repl::ReplOperation>& statments) final;
+ const std::vector<OplogSlot>& reservedSlots,
+ std::vector<repl::ReplOperation>& statements) final;
void onTransactionAbort(OperationContext* opCtx,
boost::optional<OplogSlot> abortOplogEntryOpTime) final;
void onReplicationRollback(OperationContext* opCtx, const RollbackObserverInfo& rbInfo) final;