[jboss-jira] [JBoss JIRA] (JBJCA-1405) [GSS](7.3.z) JBJCA-1404: Race condition involving Pool.fillTo

Stephen Fikes (Jira) issues at jboss.org
Fri Mar 13 16:38:44 EDT 2020


Stephen Fikes created JBJCA-1405:
------------------------------------

             Summary: [GSS](7.3.z) JBJCA-1404: Race condition involving Pool.fillTo
                 Key: JBJCA-1405
                 URL: https://issues.redhat.com/browse/JBJCA-1405
             Project: IronJacamar
          Issue Type: Bug
            Reporter: Stephen Fikes
            Assignee: Flavia Rainone


The fillTo implementation of SemaphoreConcurrentLinkedDequeManagedConnectionPool suffers from the same issue we found in increase capacity:
https://github.com/ironjacamar/ironjacamar/pull/695/commits/d80c2ae7713f4457f192e0cbe236fc07ab317de4

See JBJCA-1399.
This means that when more than two threads attempt to add connections to the pool and one of them does so via fillTo, we can run into problems with pool max size.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list