diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-10-13 09:08:17 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-10-13 09:08:17 -0400 |
commit | 4d37e1acbad77a3981e9f2954f78da26d093f8f7 (patch) | |
tree | 9eef350e4329a89a793ccb84a80837b5dc8d72f2 | |
parent | 8ea06cd353ec362256dfcafa835ceba78ecc8186 (diff) | |
download | mongo-4d37e1acbad77a3981e9f2954f78da26d093f8f7.tar.gz |
fix for SERVER-6463 slightly better
-rw-r--r-- | client/dbclient_rs.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/client/dbclient_rs.cpp b/client/dbclient_rs.cpp index b1f80670e78..43917631419 100644 --- a/client/dbclient_rs.cpp +++ b/client/dbclient_rs.cpp @@ -530,13 +530,6 @@ namespace mongo { log( ! verbose ) << "ReplicaSetMonitor::_checkConnection: " << conn->toString() << ' ' << o << endl; - if (!o["secondary"].trueValue() && !o["ismaster"].trueValue()) { - /* This node is not in steady state so don't trust the host list. - * In the worst case, this node can even be a non member of the set. - */ - return false; - } - // add other nodes BSONArrayBuilder b; if ( o["hosts"].type() == Array ) { |