Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-615

Faster alive() method when primary / standalone is down

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.7
    • 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.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: