Skip to content

Commit 4d37e1a

Browse files
committed
fix for SERVER-6463 slightly better
1 parent 8ea06cd commit 4d37e1a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

client/dbclient_rs.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -530,13 +530,6 @@ namespace mongo {
530530
log( ! verbose ) << "ReplicaSetMonitor::_checkConnection: " << conn->toString()
531531
<< ' ' << o << endl;
532532

533-
if (!o["secondary"].trueValue() && !o["ismaster"].trueValue()) {
534-
/* This node is not in steady state so don't trust the host list.
535-
* In the worst case, this node can even be a non member of the set.
536-
*/
537-
return false;
538-
}
539-
540533
// add other nodes
541534
BSONArrayBuilder b;
542535
if ( o["hosts"].type() == Array ) {

0 commit comments

Comments
 (0)