Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-1404

Race condition involving Pool.fillTo

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: