Iterate all servers in closeCheckedOutConnections()

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: SDAM
    • 2
    • Not Needed
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      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

       

            Assignee:
            Unassigned
            Reporter:
            TPM Jira Automations Bot
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: