[jbossts-issues] [JBoss JIRA] (JBTM-1155) Remember where we are in the commit list for recovery

Mark Little (JIRA) jira-events at lists.jboss.org
Thu May 3 10:43:18 EDT 2012

     [ https://issues.jboss.org/browse/JBTM-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Little updated JBTM-1155:

    Steps to Reproduce: Have a transaction with multiple participants. Have one of those participants return XA_RETRY on commit. Upon recovery, have it return a heuristic rollback the next time it is told to commit. Without a fix the transaction will rollback and no heuristic will be indicated. With a fix it should show the heuristic.

> Remember where we are in the commit list for recovery
> -----------------------------------------------------
>                 Key: JBTM-1155
>                 URL: https://issues.jboss.org/browse/JBTM-1155
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Recovery, Transaction Core
>    Affects Versions: 4.16.4
>            Reporter: Mark Little
>            Assignee: Mark Little
>             Fix For: 5.0.0.Final
> We keep track of where the coordinator is in the list of resources to commit during doCommit, so that we can avoid heuristics as much as possible. Basically we need to remember if we have gotten past the first participant. However, we do not remember this value (boolean) as part of the transaction state. This means that upon recovery there is a chance that a participant that failed to commit the first time round and then causes a heuristic rollback subsequently, will cause the transaction silently mask the heuristic and roll back all of the other participants, delete the log and report a normal transaction abort state. In fact it should ensure the heuristic is raised.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list