summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_noop.h
diff options
context:
space:
mode:
authorWilliam Schultz <william.schultz@mongodb.com>2018-02-21 11:49:25 -0500
committerWilliam Schultz <william.schultz@mongodb.com>2018-02-21 11:53:14 -0500
commit788369eb773eede21ee0f492363bb7e64054ffd3 (patch)
tree85e2c2420d5f041ced1a55c68bcd2ae64269a6d0 /src/mongo/db/op_observer_noop.h
parent298dae8fed97e950b2633c32829ccd85bad204f1 (diff)
downloadmongo-788369eb773eede21ee0f492363bb7e64054ffd3.tar.gz
SERVER-29933 Add onReplicationRollback OpObserver method
Diffstat (limited to 'src/mongo/db/op_observer_noop.h')
-rw-r--r--src/mongo/db/op_observer_noop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/op_observer_noop.h b/src/mongo/db/op_observer_noop.h
index 8f59107d034..e02be90da3a 100644
--- a/src/mongo/db/op_observer_noop.h
+++ b/src/mongo/db/op_observer_noop.h
@@ -99,6 +99,8 @@ public:
OptionalCollectionUUID uuid) override {}
void onTransactionCommit(OperationContext* opCtx) override{};
void onTransactionAbort(OperationContext* opCtx) override{};
+ void onReplicationRollback(OperationContext* opCtx,
+ const RollbackObserverInfo& rbInfo) override {}
};
} // namespace mongo