summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_noop.h
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2018-12-20 11:06:04 -0500
committerDianna Hohensee <dianna.hohensee@10gen.com>2019-01-22 21:44:13 -0500
commitb89d1cb056f82af22a5bef211bd2680f3784e7c2 (patch)
tree52f4b91a50c351e250f9d61b93e635c6ebabd508 /src/mongo/db/op_observer_noop.h
parentaa0d93a714f84bf6a29b42390cc51c79963cf725 (diff)
downloadmongo-b89d1cb056f82af22a5bef211bd2680f3784e7c2.tar.gz
SERVER-39066 Add OpObservers and oplog handling for startIndexBuild and commitIndexBuild
Diffstat (limited to 'src/mongo/db/op_observer_noop.h')
-rw-r--r--src/mongo/db/op_observer_noop.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mongo/db/op_observer_noop.h b/src/mongo/db/op_observer_noop.h
index 469043de57f..951389c1c5c 100644
--- a/src/mongo/db/op_observer_noop.h
+++ b/src/mongo/db/op_observer_noop.h
@@ -41,6 +41,26 @@ public:
CollectionUUID uuid,
BSONObj indexDoc,
bool fromMigrate) override {}
+
+ void onStartIndexBuild(OperationContext* opCtx,
+ const NamespaceString& nss,
+ CollectionUUID collUUID,
+ const UUID& indexBuildUUID,
+ const std::vector<BSONObj>& indexes,
+ bool fromMigrate) override {}
+
+ void onCommitIndexBuild(OperationContext* opCtx,
+ const NamespaceString& nss,
+ CollectionUUID collUUID,
+ const UUID& indexBuildUUID,
+ const std::vector<BSONObj>& indexes,
+ bool fromMigrate) override {}
+
+ void onAbortIndexBuild(OperationContext* opCtx,
+ CollectionUUID collUUID,
+ const BSONObj& indexInfo,
+ bool fromMigrate) override {}
+
void onInserts(OperationContext* opCtx,
const NamespaceString& nss,
OptionalCollectionUUID uuid,