-
Type: Investigation
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: mongo-tools-common
-
None
Previously the tools would set direct = true unless the replica set name was specified, even if a seedlist was specified. As of go driver 1.4.0-beta2, this causes an error. This means any seedlist without replica set name causes tools to fail for tools 100.1.0+.
I think we should investigate if the direct connection was necessary - it seems weird to me that we would force a direct connection if a seedlist was specified. This seems to go against the expected SDAM behavior.
If we are okay with this change, we should at the very least change the documentation. The documentation currently makes it sound like specifying a replica set name is necessary to force a replica set connection. But a seedlist is sufficient.
- is depended on by
-
TOOLS-2711 Tools fail with "a direct connection cannot be made if multiple hosts are specified" if mongodb+srv URI or a legacy uri containing multiple mongos is specified
- Closed
- is related to
-
TOOLS-2743 Remove the direct connection URI option
- Accepted
- related to
-
TOOLS-2711 Tools fail with "a direct connection cannot be made if multiple hosts are specified" if mongodb+srv URI or a legacy uri containing multiple mongos is specified
- Closed