[infinispan-issues] [JBoss JIRA] Commented: (ISPN-629) document transaction's state if an Exception occurs
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Mon Sep 6 09:58:53 EDT 2010
[ https://jira.jboss.org/browse/ISPN-629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12549277#action_12549277 ]
Mircea Markus commented on ISPN-629:
------------------------------------
More have been discussed here: http://lists.jboss.org/pipermail/infinispan-dev/2010-September/006239.html
> document transaction's state if an Exception occurs
> ---------------------------------------------------
>
> Key: ISPN-629
> URL: https://jira.jboss.org/browse/ISPN-629
> Project: Infinispan
> Issue Type: Feature Request
> Affects Versions: 4.1.0.Final
> Reporter: Mircea Markus
> Assignee: Mircea Markus
> Fix For: 4.2.0.BETA1, 4.2.0.CR1, 4.2.0.Final
>
>
> It is not documented what happens with a transaction if a TImeoutException occurs while trying to acquire a lock.
> E.g.
> tm.begin()
> caceh.put(k1); //this throws TE - what would be the status of the transaction after TE is thrown?
> After discussing this on core, the suggestion was to make the transaction abort/rollback. This can be achieved by marking a tx as rollbackOnly.
> Tests need to be added to enforce this behaviour and and documentation needs to be updated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list