You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michal Sabo (JIRA)" <ji...@apache.org> on 2013/12/11 17:31:10 UTC
[jira] [Created] (POOL-243) Object creation exception do not
decrement createCount in GenericKeyedObjectPool implementation
Michal Sabo created POOL-243:
--------------------------------
Summary: 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
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 the maxTotalPerKey is not satisfied, which can cause a serious issue when maxTotalPerKey is set low, e.g. to 1.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)