Permalink
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...
1 parent 618a111 commit 652f407b4b194bd98c1f59fb93f3a1b014ff9bb6 @stbrody stbrody committed with erh Aug 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit 652f407

Please sign in to comment.