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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.16.4
    • Fix Version/s: 4.17.7, 5.0.0.M4
    • Component/s: JTA, JTS
    • Labels:
      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().

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jolee Johnathon Lee
                  Reporter:
                  jolee Johnathon Lee
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: