Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-217

Under heavy load, the Connection Pool will not provide valid connections

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M27
    • Fix Version/s: 1.0.0-M28
    • Labels:
      None

      Description

      What happens is that when a lot of threads are requesting connections from the pool, and if the number of idle connections get above the max idle connections configure for the pool, then some connections will be mandatory closed by the pool, and may remain in a transient state for a bit of time, and be allocated to a thread.

      This is due to the fact we don't wait for the complete closure of a connection when we do a session.close(), which returns a CloseFuture.

        Activity

        Hide
        elecharny Emmanuel Lecharny added a comment -
        Show
        elecharny Emmanuel Lecharny added a comment - Fixed with http://svn.apache.org/r1650215

          People

          • Assignee:
            Unassigned
            Reporter:
            elecharny Emmanuel Lecharny
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development