summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/config_server_op_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/config_server_op_observer.h')
-rw-r--r--src/mongo/db/s/config_server_op_observer.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mongo/db/s/config_server_op_observer.h b/src/mongo/db/s/config_server_op_observer.h
index 3b128534f3d..192e7e091ef 100644
--- a/src/mongo/db/s/config_server_op_observer.h
+++ b/src/mongo/db/s/config_server_op_observer.h
@@ -52,6 +52,25 @@ public:
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,