-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 2.6.3
-
Component/s: None
-
None
The alive() method of MongoClient and MongoReplicaSetClient is not intended to force an actual discovery of the primary, merely to report the client's current view of the primary's status with minimal I/O. But for both clients, the current implementation attempts discovery. Update it to avoid discovery while the primary is thought to be unavailable.