commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (POOL-243) Object creation exception do not decrement createCount in GenericKeyedObjectPool implementation
Date Wed, 31 Dec 2014 16:16:13 GMT

     [ https://issues.apache.org/jira/browse/POOL-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phil Steitz closed POOL-243.
----------------------------

> Object creation exception do not decrement createCount in GenericKeyedObjectPool implementation
> -----------------------------------------------------------------------------------------------
>
>                 Key: POOL-243
>                 URL: https://issues.apache.org/jira/browse/POOL-243
>             Project: Commons Pool
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Michal Sabo
>            Priority: Critical
>             Fix For: 2.1
>
>
> When KeyedPooledObjectFactory method create(K key), covering the object pool lifecycle,
fails to create an object and throws an exception, the created object counter (createCount)
of particular ObjectDeque do not gets decremented. As a result, setting the maxTotalPerKey
do not work properly, which can cause a serious issue when maxTotalPerKey is set to for example
1.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message