-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: SDAM
Use Case
As a... driver user
I want... client.close() clean up all resources
So that... I don't have any risks of leaving resources allocated
User Experience
- All checkedOut connections are closed on client.close() call.
Dependencies
- N/A
Risks/Unknowns
- N/A
Acceptance Criteria
Implementation Requirements
- The existing PR has correct implementation in place (essentially let the topology traverse all servers without early return.
Testing Requirements
- Existing tests needs to be refactored:
- despite code lives in topology, tests that invoke this code live in connection_pool.test
- analyze overall coverage for client.close logic and add tests if needed
Documentation Requirements
- N/A
Follow Up Requirements
- N/A
- is duplicated by
-
NODE-7412 Only the first server's checked-out connections were being closed in closeCheckedOutConnections().
-
- Closed
-