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:
parent
5696d8190b
commit
861bc071b8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user