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

Fix the await condition in OpenConcurrencyLimiter.acquirePermitOrGetAvailableOpenedConnection

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.5.0
    • Affects Version/s: None
    • Component/s: Connection Management
    • None
    • Fully Compatible
    • Not Needed

      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.

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

              Created:
              Updated:
              Resolved: