diff options
author | Benety Goh <benety@mongodb.com> | 2019-07-11 10:35:21 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2019-07-11 10:35:36 -0400 |
commit | adab6702bc9869557c14eb8b0e888c6e854f4593 (patch) | |
tree | bd809cf4c9adc085903de2a1eddf7df9bd490fae /src/mongo/db/index_builds_coordinator_mongod.h | |
parent | b9272e3fc9c41aff5e8ba8a0d641eed278fcd92f (diff) | |
download | mongo-adab6702bc9869557c14eb8b0e888c6e854f4593.tar.gz |
SERVER-38667 remove unused replication state notification functions from IndexBuildsCoordinator
Diffstat (limited to 'src/mongo/db/index_builds_coordinator_mongod.h')
-rw-r--r-- | src/mongo/db/index_builds_coordinator_mongod.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/db/index_builds_coordinator_mongod.h b/src/mongo/db/index_builds_coordinator_mongod.h index 03b5884cce3..e7d5df355d4 100644 --- a/src/mongo/db/index_builds_coordinator_mongod.h +++ b/src/mongo/db/index_builds_coordinator_mongod.h @@ -84,10 +84,6 @@ public: const std::vector<BSONObj>& specs, const UUID& buildUUID) override; - void signalChangeToPrimaryMode() override; - void signalChangeToSecondaryMode() override; - void signalChangeToInitialSyncMode() override; - Status voteCommitIndexBuild(const UUID& buildUUID, const HostAndPort& hostAndPort) override; Status setCommitQuorum(OperationContext* opCtx, @@ -133,12 +129,6 @@ private: */ void _refreshReplStateFromPersisted(OperationContext* opCtx, const UUID& buildUUID); - // Replication hooks will call into the Coordinator to update this on relevant state - // transitions. The Coordinator will then use the setting to inform how index builds are run. - // Index builds have different inter node communication responsibilities and error checking - // requirements depending on the replica set member's state. - ReplState _replMode = ReplState::Secondary; - // Thread pool on which index builds are run. ThreadPool _threadPool; }; |