-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Go Drivers
Context
The Go Driver should not pass a server selection deadline while checking out a connection at the operation layer, here.
With the exception of waiting for the wantConn, checking out a connection from the pool does not rely on a context deadline. However, this would cause difficult-to-debug issues if checking out a connection ever strictly relied on a context deadline, such as reading pending messages in the foreground as proposed in DRIVERS-2884.
Definition of done
Only use the wrapped context while selecting a server. Use the user-defined context (function parameter) for checking out a connection.
Pitfalls
NA
- related to
-
GODRIVER-3173 CSOT avoid connection churn when operations timeout
- Blocked
-
DRIVERS-2884 CSOT avoid connection churn when operations timeout
- In Progress