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.cpp | |
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.cpp')
-rw-r--r-- | src/mongo/db/index_builds_coordinator_mongod.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mongo/db/index_builds_coordinator_mongod.cpp b/src/mongo/db/index_builds_coordinator_mongod.cpp index b0bea23afa9..4fb8274a640 100644 --- a/src/mongo/db/index_builds_coordinator_mongod.cpp +++ b/src/mongo/db/index_builds_coordinator_mongod.cpp @@ -216,21 +216,6 @@ Status IndexBuildsCoordinatorMongod::commitIndexBuild(OperationContext* opCtx, return Status::OK(); } -void IndexBuildsCoordinatorMongod::signalChangeToPrimaryMode() { - stdx::unique_lock<stdx::mutex> lk(_mutex); - _replMode = ReplState::Primary; -} - -void IndexBuildsCoordinatorMongod::signalChangeToSecondaryMode() { - stdx::unique_lock<stdx::mutex> lk(_mutex); - _replMode = ReplState::Secondary; -} - -void IndexBuildsCoordinatorMongod::signalChangeToInitialSyncMode() { - stdx::unique_lock<stdx::mutex> lk(_mutex); - _replMode = ReplState::InitialSync; -} - Status IndexBuildsCoordinatorMongod::voteCommitIndexBuild(const UUID& buildUUID, const HostAndPort& hostAndPort) { // TODO: not yet implemented. |