Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4166

Pools should be properly closed instead of reset in topology

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers

      Summary

      Currently when closing servers in a topology, we clear the server's pool rather than closing it. The specification for CMAP states that pools must be closed when their owning server is closed.

      Motivation

      Who is the affected end user?

      All end users.

      How does this affect the end user?

      N/A, internal implementation detail.

      How likely is it that this problem or use case will occur?

      Occurs on every client closure.

      If the problem does occur, what are the consequences and how severe are they?

      Non-conformance with the CMAP spec.

      Is this issue urgent?

      Required for CMAP standardized logging.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

      Does this ticket have any functional impact, or is it just test improvements?

      Acceptance Criteria

      What specific requirements must be met to consider the design phase complete?

            Assignee:
            noah.stapp@mongodb.com Noah Stapp
            Reporter:
            noah.stapp@mongodb.com Noah Stapp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: