Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4926

Support autoSelectFamily and autoSelectFamilyAttemptTimeout in options

    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: