-
Type: Investigation
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Not Needed
- Store checked out connections in a Set on the connection pool class
- Also consider refactoring to store other connection related properties in maps (won't do)
- kPending will not be changed, because when we increment kPending we don’t have a reference to a connection. We could consider storing a set of connectionIds instead of a counter in kPending but I think a counter suffices.
- kCheckedOut will now be a Set
- Expose the checked out connections with an internal getter so shell can access the connections.
- depends on
-
NODE-4689 Add support for tracking checked out connections
- Closed
- is related to
-
MONGOSH-1360 Simplify connection pool monkey-patching with newer Node.js driver
- Closed