[jbossts-issues] [JBoss JIRA] (JBTM-1786) Change to TMFAIL for an ABORT on a non-prepared TX

Johnathon Lee (JIRA) jira-events at lists.jboss.org
Thu Jun 13 14:23:54 EDT 2013

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

Johnathon Lee updated JBTM-1786:

    Git Pull Request: https://github.com/jbosstm/narayana/pull/342

> Change to TMFAIL for an ABORT on a non-prepared TX
> --------------------------------------------------
>                 Key: JBTM-1786
>                 URL: https://issues.jboss.org/browse/JBTM-1786
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JTA
>    Affects Versions: 4.16.4
>            Reporter: Johnathon Lee
>            Assignee: Johnathon Lee
> An ABORT on a non-prepared TX should be calling end with TMFAIL.
> It's more efficient in that the RM can return an RB* code immediately and short circuit the rollback internally if it likes.  More importantly though the RM is less likely to object that it's still running tx activity on another thread and the concurrent TMSUCCESS therefore makes no sense to it.
> Also the XAResourceRecord.topLevelAbort code should immediately continue on to calling rollback on the resource despite the failed end(). 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the jbossts-issues mailing list