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

Auto discover replica sets by default

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0
    • None
    • Minor Change

    Description

      In PYTHON-2121 we introduced the directConnection=true/false option. Currently this option defaults to None and retains PyMongo's legacy replica set discovery behavior. In PyMongo 4.0 we should change the default to directConnection=false and make pymongo automatically discover replica set members even when only one seed host is given and even when the replicaSet name is not given.

      Attachments

        Issue Links

          Activity

            People

              julius.park@mongodb.com Julius Park
              shane.harvey@mongodb.com Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: