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

subordinate tx runs beforeCompletion even when terminating rollbackOnly tx.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.3.SP8, 4.2.3.CP03, 4.5.0
    • 4.2.3.SP7, 4.2.3.CP02, 4.4.0.GA
    • JTA
    • None

      SubordinateAtomicAction invokes the beforeCompletion syncs from doPrepare and doOnePhaseCommit, even when the tx is in state ABORT_ONLY.

      Whilst outside the scope of the JTA or JCA specs, this is inconsistent with the standard JTA behaviour of running beforeCompletion only prior to commit attempts, not rollbacks.

      Make a best effort check to avoid the overhead of running the syncs for cases where we know we can't commit.

              rhn-engineering-jhallida Jonathan Halliday
              rhn-engineering-jhallida Jonathan Halliday
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: