Use Case
The Node.js net module now supports two new options for automatically selecting the IP address family: https://nodejs.org/api/net.html#socketconnectoptions-connectlistener
Since the driver forwards options to the Node.js net API, it should also support these options.
User Impact
Users can connect using IPv4 or IPv6 by letting the platform detect the right protocol always.
Dependencies
This might affect mongosh/Compass connectivity (in the sense that we may want to set these options).
Unknowns
I would lean towards setting autoSelectFamily: true by default but that might require some more discussion.
Acceptance Criteria
Implementation Requirements
- functional reqs, potential snafus to avoid, performance targets, etc
Testing Requirements
- unit test, spec test sync, etc
Documentation Requirements
- DOCSP ticket, API docs, etc
Follow Up Requirements
- additional tickets to file, required releases, etc
|