0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

Fix mongos skipping checking the health of the first node in the _nodes array

in the replica set monitor.  SERVER-3605
This commit is contained in:
Spencer T Brody 2011-08-15 19:11:15 -04:00
parent 5696d8190b
commit 861bc071b8

View File

@ -308,7 +308,7 @@ namespace mongo {
string host = member["name"].String();
int m = -1;
if ((m = _find(host)) <= 0) {
if ((m = _find(host)) < 0) {
continue;
}