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

Add a CMAP test that verifies the background thread hands over connections to threads doing checkout

    • Needed
    • Hide

      Implement the CMAP specification change done in https://github.com/mongodb/specifications/pull/1078. The PR also introduced a test that verifies the implementation.

      Show
      Implement the CMAP specification change done in https://github.com/mongodb/specifications/pull/1078 . The PR also introduced a test that verifies the implementation.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4186 Won't Do
      CXX-2386 Won't Do
      CSHARP-3901 Backlog
      GODRIVER-2182 Backlog
      JAVA-4346 Fixed 4.3.4
      NODE-3666 Done
      PHPLIB-732 Won't Fix
      PYTHON-2941 Fixed 4.0
      MOTOR-829 Duplicate
      RUBY-2808 Duplicate
      RUST-1052 Backlog
      SWIFT-1369 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-4186 Won't Do CXX-2386 Won't Do CSHARP-3901 Backlog GODRIVER-2182 Backlog JAVA-4346 Fixed 4.3.4 NODE-3666 Done PHPLIB-732 Won't Fix PYTHON-2941 Fixed 4.0 MOTOR-829 Duplicate RUBY-2808 Duplicate RUST-1052 Backlog SWIFT-1369 Duplicate

      Summary

      What is the problem or use case, what are we trying to achieve?
      Make sure the driver does not have increased connection checkout latencies during temporary states when a pool is not populated to its min size.

      Motivation

      Who is the affected end user?

      A user of a driver.

      How does this affect the end user?

      If a driver does not behave the way the test expects, it's a performance bug that may affect driver users. JAVA-4316 is an example of a situation when the user is affected by this bug in the Java driver.

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

      Not very likely, and if there is a problem with connection checkout latencies, the behavior expected by the test is unlikely to solve the problem in full.

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

      May cause higher checkout latencies during temporary states when a pool is not populated to its min size.

      Is this issue urgent?

      No.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Depends on whether a driver has the specific performance bug or not. If not, then the driver will only need to grab the new test scenario.

            Assignee:
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Reporter:
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: