summaryrefslogtreecommitdiff
path: root/src/mongo/db/free_mon
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2018-09-21 15:42:10 -0400
committerJudah Schvimer <judah@mongodb.com>2018-09-21 15:42:41 -0400
commit340e33483d69983c976dff0ed5ab2ff0b036237c (patch)
tree02fa87780c879d854568c42efb2aa4edd417e5c6 /src/mongo/db/free_mon
parent680158aaa823b4d980adb4ad4209258408c32253 (diff)
downloadmongo-340e33483d69983c976dff0ed5ab2ff0b036237c.tar.gz
SERVER-35865 SERVER-35816 SERVER-35730 Write commit oplog entry on commit of prepared transaction
Diffstat (limited to 'src/mongo/db/free_mon')
-rw-r--r--src/mongo/db/free_mon/free_mon_op_observer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/free_mon/free_mon_op_observer.h b/src/mongo/db/free_mon/free_mon_op_observer.h
index 0ce2dd98d60..27860a05f4e 100644
--- a/src/mongo/db/free_mon/free_mon_op_observer.h
+++ b/src/mongo/db/free_mon/free_mon_op_observer.h
@@ -131,7 +131,9 @@ public:
const NamespaceString& collectionName,
OptionalCollectionUUID uuid) final {}
- void onTransactionCommit(OperationContext* opCtx, bool wasPrepared) final {}
+ void onTransactionCommit(OperationContext* opCtx,
+ boost::optional<OplogSlot> commitOplogEntryOpTime,
+ boost::optional<Timestamp> commitTimestamp) final {}
void onTransactionPrepare(OperationContext* opCtx, const OplogSlot& prepareOpTime) final {}