Auto discover replica sets by default

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0
    • Affects Version/s: None
    • Component/s: None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Julius Park (Inactive)
            Reporter:
            Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: