Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4451

Fix the await condition in OpenConcurrencyLimiter.acquirePermitOrGetAvailableOpenedConnection

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 4.5.0
    • Connection Management
    • None
    • Fully Compatible
    • Not Needed

    Description

      Acquiring locks unfairly in DefaultConnectionPool.OpenConcurrencyLimiter.releasePermit revealed a bug in OpenConcurrencyLimiter.acquirePermitOrGetAvailableOpenedConnection, which manifested itself by failing the pool-checkout-minPoolSize-connection-maxConnecting.json test.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: