Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-1786

Change to TMFAIL for an ABORT on a non-prepared TX

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 4.16.4
    • 4.17.7, 5.0.0.M4
    • JTA, JTS
    • None

    Description

      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().

      Attachments

        Issue Links

          Activity

            People

              rhn-support-jolee Johnathon Lee
              rhn-support-jolee Johnathon Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: