[
https://jira.jboss.org/jira/browse/ISPN-272?page=com.atlassian.jira.plugi...
]
Manik Surtani updated ISPN-272:
-------------------------------
Fix Version/s: 5.0.0.BETA1
5.0.0.GA
Affects Version/s: 4.0.0.GA
(was: 5.0.0.GA)
What happens right now in such a scenario? Are locks cleared? Or do we have stale
locks?
recover from transaction failures
---------------------------------
Key: ISPN-272
URL:
https://jira.jboss.org/jira/browse/ISPN-272
Project: Infinispan
Issue Type: Feature Request
Components: Transactions
Affects Versions: 4.0.0.GA
Reporter: Mircea Markus
Assignee: Manik Surtani
Fix For: 5.0.0.BETA1, 5.0.0.GA
We currently don't support any sort of recovery from transaction failures.
E.g.
tm.start();
database.delete(account);
ispnCache.put(account);
tm.commit():
At tm commit:
-prepare is successful on both enlisted resources.
- database.commit - fails
What shall we do with the locks/state from ispnCache.
Possible solutions:
- configure to automatically commit/rollback after a timeout
- keep locks on resources and allow manual intervention through JMX
- others?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira