Handle errors when enlisting transactional resources
----------------------------------------------------
Key: ISPN-876
URL:
https://issues.jboss.org/browse/ISPN-876
Project: Infinispan
Issue Type: Bug
Components: Locking and Concurrency, Transactions
Affects Versions: 4.2.0.Final
Reporter: Manik Surtani
Assignee: Manik Surtani
Fix For: 4.2.1.Final
When a transaction is to be enlisted, if the transaction is not in a correct state an
exception is thrown. This is fine, except that if the transaction happen to already have
begun and have acquired locks, these locks will never be released.
TMs can occasionally invalidate a transaction (perhaps a timeout) and leave things in an
awkward state without this cleanup.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira