[DRIVERS-2757] Retry on DNS failure for up to connectTimeoutMS Created: 26/Oct/23  Updated: 06/Feb/24

Status: Backlog
Project: Drivers
Component/s: Initial DNS Seedlist Discovery
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Alex Bevilacqua Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to PYTHON-3636 MongoClient should perform SRV resolu... Backlog
is related to DRIVERS-2569 Hybrid SRV connection string format f... Backlog
Driver Changes: Needed
Quarter: FY25Q1

 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.


Generated at Thu Feb 08 08:26:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.