-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Detailed steps to reproduce the problem?
The connection.isAlive check currently only runs if maxIdleTimeMS is set, which is unintended. However, when maxIdleTimeMS is set, the liveness check can fail intermittently, as exposed by the flaky TestConnection_IsAlive unit test. Considering this isn't actually enabled for most users, and Serverless is EOL, so this buggy feature should be removed.
Definition of done: what must be done to consider the task complete?
The exact Go version used, with patch level:
$ go version
The exact version of the Go driver used:
$ go list -m go.mongodb.org/mongo-driver
Describe how MongoDB is set up. Local vs Hosted, version, topology, load balanced, etc.
The operating system and version (e.g. Windows 7, OSX 10.8, ...)
Security Vulnerabilities
If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here
- is related to
-
GODRIVER-3156 Detect and discard closed connections during check-out
-
- Closed
-