summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl.h
diff options
context:
space:
mode:
authorMatthew Saltz <matthew.saltz@mongodb.com>2019-04-11 10:07:13 -0400
committerMatthew Saltz <matthew.saltz@mongodb.com>2019-05-02 11:38:23 -0400
commit923bb8465cf13a81c90ca3002e5386411ce5d14b (patch)
tree1b467314eb196aa3a575c7ecdcc4670c3e219e8a /src/mongo/db/op_observer_impl.h
parent36305b35165433d411598536e3fba59ec7a77c12 (diff)
downloadmongo-923bb8465cf13a81c90ca3002e5386411ce5d14b.tar.gz
SERVER-40475 Migrate sentinel entry for retryable writes converted to transactions
Diffstat (limited to 'src/mongo/db/op_observer_impl.h')
-rw-r--r--src/mongo/db/op_observer_impl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer_impl.h b/src/mongo/db/op_observer_impl.h
index 07c7542c342..bebd01101fc 100644
--- a/src/mongo/db/op_observer_impl.h
+++ b/src/mongo/db/op_observer_impl.h
@@ -181,7 +181,9 @@ private:
const repl::OpTime& preImageOpTime,
const bool inMultiDocumentTransaction) {}
virtual void shardObserveTransactionPrepareOrUnpreparedCommit(
- OperationContext* opCtx, const std::vector<repl::ReplOperation>& stmts) {}
+ OperationContext* opCtx,
+ const std::vector<repl::ReplOperation>& stmts,
+ const repl::OpTime& prepareOrCommitOptime) {}
};
} // namespace mongo