From 4d37e1acbad77a3981e9f2954f78da26d093f8f7 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Sat, 13 Oct 2012 09:08:17 -0400 Subject: fix for SERVER-6463 slightly better --- client/dbclient_rs.cpp | 7 ------- 1 file changed, 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 ) { -- cgit v1.2.1