diff options
author | Matthew Russotto <matthew.russotto@10gen.com> | 2018-02-12 10:08:44 -0500 |
---|---|---|
committer | Matthew Russotto <matthew.russotto@10gen.com> | 2018-02-13 14:00:58 -0500 |
commit | 0f4b9e146be4cf9b612e34c500d91b4fdb91b07a (patch) | |
tree | e785b82c76e11f27421f6adc747f191f1b39e50a /src/mongo/db/op_observer_impl.h | |
parent | a4321b24021f6c1ec376c1c3b79f59732a3463e4 (diff) | |
download | mongo-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.h | 2 |
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 |