Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix mongos skipping checking the health of the first node in the _nod…

…es array

in the replica set monitor.  SERVER-3605
  • Loading branch information...
commit 652f407b4b194bd98c1f59fb93f3a1b014ff9bb6 1 parent 618a111
Spencer T Brody stbrody authored erh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  client/dbclient_rs.cpp
2  client/dbclient_rs.cpp
View
@@ -266,7 +266,7 @@ namespace mongo {
string host = member["name"].String();
int m = -1;
- if ((m = _find(host)) <= 0) {
+ if ((m = _find(host)) < 0) {
continue;
}
Please sign in to comment.
Something went wrong with that request. Please try again.