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

Max active per key can be exceeded by one

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5
    • 1.5.6
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: