diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2014-11-18 14:33:52 -0500 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2014-11-19 17:09:23 -0500 |
commit | 74cd9523a6b9d81dc60bdf6af05f6fa2e8739159 (patch) | |
tree | 59a1bd40c685ab333640ebf693d7f9d5ce41055e /src/mongo/db/repl/check_quorum_for_config_change.h | |
parent | eac11632002de066d03936b5246d1d6162e7d240 (diff) | |
download | mongo-74cd9523a6b9d81dc60bdf6af05f6fa2e8739159.tar.gz |
SERVER-16217 improve replSetReconfig and replSetInitiate error messages
Diffstat (limited to 'src/mongo/db/repl/check_quorum_for_config_change.h')
-rw-r--r-- | src/mongo/db/repl/check_quorum_for_config_change.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/check_quorum_for_config_change.h b/src/mongo/db/repl/check_quorum_for_config_change.h index 04f3f87b340..396ac4dea39 100644 --- a/src/mongo/db/repl/check_quorum_for_config_change.h +++ b/src/mongo/db/repl/check_quorum_for_config_change.h @@ -90,12 +90,12 @@ namespace repl { // Index of the local node's member configuration in _rsConfig. const int _myIndex; - // List of nodes believed to be down. - std::vector<HostAndPort> _down; - // List of voting nodes that have responded affirmatively. std::vector<HostAndPort> _voters; + // List of nodes with bad responses and the bad response status they returned. + std::vector<std::pair<HostAndPort, Status> > _badResponses; + // Total number of responses and timeouts processed. int _numResponses; |