diff options
author | Judah Schvimer <judah@mongodb.com> | 2017-03-06 16:02:10 -0500 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2017-03-06 16:02:10 -0500 |
commit | 5b5cf72ed9e52d71ed9f41b2219080fe46f62a3a (patch) | |
tree | 9fb58b23f66748b64369316c766a4fa693fd76e2 /src/mongo/db/repl/vote_requester.h | |
parent | 59681ee6603fc43f0f3209ec0f9c6a09476edfcc (diff) | |
download | mongo-5b5cf72ed9e52d71ed9f41b2219080fe46f62a3a.tar.gz |
SERVER-27995 make repl_set* naming convention consistent
Diffstat (limited to 'src/mongo/db/repl/vote_requester.h')
-rw-r--r-- | src/mongo/db/repl/vote_requester.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/repl/vote_requester.h b/src/mongo/db/repl/vote_requester.h index 7c8c8ae414e..8560491fc13 100644 --- a/src/mongo/db/repl/vote_requester.h +++ b/src/mongo/db/repl/vote_requester.h @@ -34,7 +34,7 @@ #include "mongo/base/disallow_copying.h" #include "mongo/bson/timestamp.h" #include "mongo/db/repl/optime.h" -#include "mongo/db/repl/replica_set_config.h" +#include "mongo/db/repl/repl_set_config.h" #include "mongo/db/repl/replication_executor.h" #include "mongo/db/repl/scatter_gather_algorithm.h" #include "mongo/platform/unordered_set.h" @@ -60,7 +60,7 @@ public: class Algorithm : public ScatterGatherAlgorithm { public: - Algorithm(const ReplicaSetConfig& rsConfig, + Algorithm(const ReplSetConfig& rsConfig, long long candidateIndex, long long term, bool dryRun, @@ -84,7 +84,7 @@ public: unordered_set<HostAndPort> getResponders() const; private: - const ReplicaSetConfig _rsConfig; + const ReplSetConfig _rsConfig; const long long _candidateIndex; const long long _term; bool _dryRun = false; // this bool indicates this is a mock election when true @@ -107,7 +107,7 @@ public: * If this function returns Status::OK(), evh is then guaranteed to be signaled. **/ StatusWith<ReplicationExecutor::EventHandle> start(ReplicationExecutor* executor, - const ReplicaSetConfig& rsConfig, + const ReplSetConfig& rsConfig, long long candidateIndex, long long term, bool dryRun, |