summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/config_server_op_observer.h
diff options
context:
space:
mode:
authorCheahuychou Mao <cheahuychou.mao@mongodb.com>2019-12-11 21:46:37 +0000
committerevergreen <evergreen@mongodb.com>2019-12-11 21:46:37 +0000
commit6dfa4748f017315300a32982b63fe71e8a68d42d (patch)
treebb089ddc8ccd769339bb1dfc2263f47020db86fe /src/mongo/db/s/config_server_op_observer.h
parent57acc8b666b8c9dfc34eaf03c226ab26ac225781 (diff)
downloadmongo-6dfa4748f017315300a32982b63fe71e8a68d42d.tar.gz
SERVER-44911 Make index operations abort concurrent outgoing migrations
Diffstat (limited to 'src/mongo/db/s/config_server_op_observer.h')
-rw-r--r--src/mongo/db/s/config_server_op_observer.h3
1 files changed, 3 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 89c420b356c..38f31c6caef 100644
--- a/src/mongo/db/s/config_server_op_observer.h
+++ b/src/mongo/db/s/config_server_op_observer.h
@@ -58,6 +58,9 @@ public:
const std::vector<BSONObj>& indexes,
bool fromMigrate) override {}
+ void onStartIndexBuildSinglePhase(OperationContext* opCtx,
+ const NamespaceString& nss) override {}
+
void onCommitIndexBuild(OperationContext* opCtx,
const NamespaceString& nss,
CollectionUUID collUUID,