We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea06cd commit 4d37e1aCopy full SHA for 4d37e1a
client/dbclient_rs.cpp
@@ -530,13 +530,6 @@ namespace mongo {
530
log( ! verbose ) << "ReplicaSetMonitor::_checkConnection: " << conn->toString()
531
<< ' ' << o << endl;
532
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
-
540
// add other nodes
541
BSONArrayBuilder b;
542
if ( o["hosts"].type() == Array ) {
0 commit comments