-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Minor Change
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.
- causes
-
PYTHON-3021 Client sends incorrect read preference to standalones
- Closed
-
PYTHON-3027 Connecting to a replica set member in the RSGhost state leads to a "connection pool paused" error
- Closed
-
PYTHON-3246 Starting from PyMongo v4+ can't connect to MongoDB via ssh
- Closed
-
PYTHON-3240 pymongo 4.0+ hello.isWritablePrimary always returns True even when run against secondary instance
- Closed
- is related to
-
PYTHON-3247 Mitigate user issues caused by change in directConnection defaults in 4.x
- Closed
- related to
-
PYTHON-2121 Unify behavior around configuration for replica set discovery
- Closed