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

Fix the await condition in OpenConcurrencyLimiter.acquirePermitOrGetAvailableOpenedConnection

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 4.5.0
    • None
    • 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

        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: