Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2757

Retry on DNS failure for up to connectTimeoutMS

    XMLWordPrintableJSON

Details

    • Needed

    Description

      The initial DNS seedlist discovery specification outlines how to query DNS, however it does not provide guidance regarding retrying DNS queries on failure.

      Having the DNS query fail can result in user-facing issues as:

      In the cases where DNS seedlists are used connections should not fail on the first occurrence of a connection failure (ex: querySrv ECONNREFUSED), but should instead be retried for a configurable period as the error may be transient.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alex.bevilacqua@mongodb.com Alex Bevilacqua
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: