summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ) {