diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2018-12-20 11:06:04 -0500 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2019-01-22 21:44:13 -0500 |
commit | b89d1cb056f82af22a5bef211bd2680f3784e7c2 (patch) | |
tree | 52f4b91a50c351e250f9d61b93e635c6ebabd508 /src/mongo/db/s/config_server_op_observer.h | |
parent | aa0d93a714f84bf6a29b42390cc51c79963cf725 (diff) | |
download | mongo-b89d1cb056f82af22a5bef211bd2680f3784e7c2.tar.gz |
SERVER-39066 Add OpObservers and oplog handling for startIndexBuild and commitIndexBuild
Diffstat (limited to 'src/mongo/db/s/config_server_op_observer.h')
-rw-r--r-- | src/mongo/db/s/config_server_op_observer.h | 19 |
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, |