Uploaded image for project: 'Commons Pool'
  1. Commons Pool
  2. POOL-180

Max active per key can be exceeded by one

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5
    • Fix Version/s: 1.5.6
    • Labels:
      None

      Description

      When instances in the pool fail validation with high frequency, maxTotal is less than maxActive times the number of keys, and destroy has latency, the maxActive contract can be violated (i.e., the number of instances created under a given key minus the number destroyed can exceed maxActive).

      Attaching a test case that fails against POOL_1_X

        Attachments

          Activity

            People

            • Assignee:
              markt Mark Thomas
              Reporter:
              psteitz Phil Steitz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: