]
Flavia Rainone updated JBJCA-1404:
----------------------------------
Git Pull Request:
Race condition involving Pool.fillTo
------------------------------------
Key: JBJCA-1404
URL:
https://issues.redhat.com/browse/JBJCA-1404
Project: IronJacamar
Issue Type: Bug
Reporter: Flavia Rainone
Assignee: Flavia Rainone
Priority: Major
The fillTo implementation of SemaphoreConcurrentLinkedDequeManagedConnectionPool suffers
from the same issue we found in increase capacity:
https://github.com/ironjacamar/ironjacamar/pull/695/commits/d80c2ae7713f4...
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.