summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_noop.h
diff options
context:
space:
mode:
authorJason Chan <jason.chan@10gen.com>2019-03-11 18:29:48 -0400
committerJason Chan <jason.chan@10gen.com>2019-03-11 18:31:00 -0400
commit14d7304ebc90df88abfacc12e2b22312c600e5a5 (patch)
treeab8be69ba882cdf3452a30177841a0ec299d0e0d /src/mongo/db/op_observer_noop.h
parent9ad8d6335f83fc14cb98a27533588e9503e8e7a5 (diff)
downloadmongo-14d7304ebc90df88abfacc12e2b22312c600e5a5.tar.gz
SERVER-39441 Write the new 'prepareTransaction' command on primary
Diffstat (limited to 'src/mongo/db/op_observer_noop.h')
-rw-r--r--src/mongo/db/op_observer_noop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer_noop.h b/src/mongo/db/op_observer_noop.h
index b4290305eca..6c72a04aa25 100644
--- a/src/mongo/db/op_observer_noop.h
+++ b/src/mongo/db/op_observer_noop.h
@@ -144,7 +144,7 @@ public:
Timestamp commitTimestamp,
const std::vector<repl::ReplOperation>& statements) noexcept override{};
void onTransactionPrepare(OperationContext* opCtx,
- const OplogSlot& prepareOpTime,
+ const std::vector<OplogSlot>& reservedSlots,
std::vector<repl::ReplOperation>& statements) override{};
void onTransactionAbort(OperationContext* opCtx,
boost::optional<OplogSlot> abortOplogEntryOpTime) override{};