[DRIVERS-2155] Reduce default server selection timeout Created: 22/Feb/19  Updated: 25/Sep/23

Status: Backlog
Project: Drivers
Component/s: Server Selection
Fix Version/s: None

Type: Spec Change Priority: Major - P3
Reporter: Matt Broadstone Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: FY23Q4
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Related
related to RUBY-1793 Recommend lower server selection time... Closed
Driver Changes: Needed
Case:

 Description   

As noted in MONGOID-4715, the default timeout for nginx is 30 seconds, which also happens to be our default for server selection. This has the potential of preventing the user from seeing the true cause of request timeout.

The server selection spec indicates that the "default value was chosen to be sufficient for a typical server primary election to complete. As the server improves the speed of elections, this number may be revised downward," maybe it's time to do that.


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