[COMPASS-6516] Investigate changes in NODE-4926: Support autoSelectFamily and autoSelectFamilyAttemptTimeout in options Created: 13/Feb/23  Updated: 13/Jun/23

Status: Waiting (Blocked)
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Investigation Priority: Major - P3
Reporter: PM Bot Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: node-driver
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on NODE-4926 Support autoSelectFamily and autoSele... Backlog

 Description   

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

Generated at Wed Feb 07 22:43:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.