summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-10-13 09:08:17 -0400
committerEliot Horowitz <eliot@10gen.com>2012-10-13 09:08:17 -0400
commit4d37e1acbad77a3981e9f2954f78da26d093f8f7 (patch)
tree9eef350e4329a89a793ccb84a80837b5dc8d72f2
parent8ea06cd353ec362256dfcafa835ceba78ecc8186 (diff)
downloadmongo-4d37e1acbad77a3981e9f2954f78da26d093f8f7.tar.gz
fix for SERVER-6463 slightly better
-rw-r--r--client/dbclient_rs.cpp7
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 ) {