-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
The Clearing a Connection Pool section of the CMAP specification describes that:
As part of clearing the pool, the WaitQueue MUST also be cleared, meaning all requests in the WaitQueue MUST fail with errors indicating that the pool was cleared while the checkOut was being performed.
Currently the Go driver pool.clear() function does not empty the WaitQueue and only increments the latest generation number. Update it to also clear the WaitQueue.
Definition of done:
- pool.clear() clears the WaitQueue and returns retryable error code to all waiting checkOut() callers.
- duplicates
-
GODRIVER-1827 Implement and Test Connection Pool Paused State
- Closed
- is related to
-
GODRIVER-2038 Use "ConnectionTimeout" for creating all new connections and background connection creation
- Closed
- related to
-
GODRIVER-1905 Provide explicit guidance on handling command errors that occur before the handshake completes during operation execution
- Closed