Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-1942

Clarify clearing behavior for load balanced pools

    • Needed
    • Hide

      Added clarification of pool "Clear" behavior in load balancer mode.
      Drivers should verify that the pool is not paused and WaitQueue is not cleared by "Clear" method in load balancer mode.

      Show
      Added clarification of pool "Clear" behavior in load balancer mode. Drivers should verify that the pool is not paused and WaitQueue is not cleared by "Clear" method in load balancer mode.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4180 Backlog
      CXX-2384 Backlog
      CSHARP-3892 Works as Designed
      GODRIVER-2177 Done
      JAVA-4332 Done
      NODE-3657 Fixed 4.10.0
      PHPLIB-731 Won't Do
      PYTHON-2933 Backlog 4.8
      MOTOR-828 Duplicate
      RUBY-2804 Fixed 2.19.0
      RUST-1043 Works as Designed
      SWIFT-1366 Duplicate
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4180 Backlog CXX-2384 Backlog CSHARP-3892 Works as Designed GODRIVER-2177 Done JAVA-4332 Done NODE-3657 Fixed 4.10.0 PHPLIB-731 Won't Do PYTHON-2933 Backlog 4.8 MOTOR-828 Duplicate RUBY-2804 Fixed 2.19.0 RUST-1043 Works as Designed SWIFT-1366 Duplicate

      Summary

      The CMAP spec currently requires that pools are marked as paused after being cleared, regardless of whether the pool is associated with a load balancer or not. The benefits of pausing the pool / clearing the WaitQueue aren't present when the endpoint is a load balancer though, so we should update the spec wording accordingly.

      Motivation

      Who is the affected end user?

      Driver authors, potentially users depending on drivers' implementations.

      How does this affect the end user?

      Unclear, depends on drivers' implementations.

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

      Unclear, depends on drivers' implementations.

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

      Unclear, depends on drivers' implementations.

      Is this issue urgent?

      It will help drivers implement DRIVERS-781 and avoid potential bugs.

      Is this ticket required by a downstream team?

      No

      Is this ticket only for tests?

      No

            Assignee:
            boris.dogadov@mongodb.com Boris Dogadov
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: