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

    XMLWordPrintable

Details

    • 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.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: