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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.17.7, 5.0.0.M4
    • 4.16.4
    • JTA, JTS
    • None

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

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

                Created:
                Updated:
                Resolved: