summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl.h
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@10gen.com>2018-02-12 10:08:44 -0500
committerMatthew Russotto <matthew.russotto@10gen.com>2018-02-13 14:00:58 -0500
commit0f4b9e146be4cf9b612e34c500d91b4fdb91b07a (patch)
treee785b82c76e11f27421f6adc747f191f1b39e50a /src/mongo/db/op_observer_impl.h
parenta4321b24021f6c1ec376c1c3b79f59732a3463e4 (diff)
downloadmongo-0f4b9e146be4cf9b612e34c500d91b4fdb91b07a.tar.gz
SERVER-33058 Add onTransactionCommit and onTransactionAbort opObservers
Diffstat (limited to 'src/mongo/db/op_observer_impl.h')
-rw-r--r--src/mongo/db/op_observer_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/op_observer_impl.h b/src/mongo/db/op_observer_impl.h
index 1d26d54a411..5fd71850008 100644
--- a/src/mongo/db/op_observer_impl.h
+++ b/src/mongo/db/op_observer_impl.h
@@ -98,6 +98,8 @@ public:
void onEmptyCapped(OperationContext* opCtx,
const NamespaceString& collectionName,
OptionalCollectionUUID uuid);
+ void onTransactionCommit(OperationContext* opCtx) override;
+ void onTransactionAbort(OperationContext* opCtx) override;
};
} // namespace mongo