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

Faster alive() method when primary / standalone is down

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 2.6.3
    • 2.7
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: