[jboss-jira] [JBoss JIRA] Reopened: (JBCACHE-347) Replay tx if tx is created implicitly and fails on commit
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Wed Aug 1 14:34:54 EDT 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-347?page=all ]
Manik Surtani reopened JBCACHE-347:
-----------------------------------
Assignee: (was: Manik Surtani)
> Replay tx if tx is created implicitly and fails on commit
> ---------------------------------------------------------
>
> Key: JBCACHE-347
> URL: http://jira.jboss.com/jira/browse/JBCACHE-347
> Project: JBoss Cache
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 1.2.4
> Reporter: Manik Surtani
> Fix For: 2.0.0.GA
>
>
> With optimistic locking, we first check for an existing transaction, and if there isn't one, we implicitly start one. Before the method returns, if we started the tx ourselves, we make sure we commit it.
> There is scope to 'replay' the tx a fixed number of times here if the commit fails.
> At the moment, if the developer explicitly starts a tx before any cache operations, the cache may throw a RollbackException if it is unable to commit. If the developer doesn't explicitly start a tx, the cache may fail silently if it is unable to commit, logging errors but not throwing any exceptions. So there is scope here for silent retries without changing usage semantics.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list