[DRIVERS-2156] Don't include server selection timeouts in network error definition Created: 14/Jun/18  Updated: 31/Mar/22

Status: Backlog
Project: Drivers
Component/s: Transactions
Fix Version/s: None

Type: Spec Change Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Driver Changes: Needed

 Description   

The Network Error section states:

Any error or timeout that occurs while selecting a server or reading from or writing to a network socket.

But this is not common usage of the term, so it's easy to gloss over.  And furthermore, it the rest of the spec server selection timeouts are called out explicitly, e.g.

Any network error or server selection error encountered running any command besides commitTransaction in a transaction

The spec should redefine network errors according to more common usage by pulling out the "selecting a server" piece of it, and ensure that server selection timeout is called out explicitly, where applicable.

The spec should also call out connection pool-related timeouts as having the same semantics as server selection timeouts.  Just as with server selection timeout, a failure to check out a connection from the pool is a transient error and should be retryable in the same circumstances.

 


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