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

subordinate tx runs beforeCompletion even when terminating rollbackOnly tx.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.3.SP7, 4.2.3.CP02, 4.4.0.GA
    • Fix Version/s: 4.2.3.SP8, 4.2.3.CP03, 4.5.0
    • Component/s: JTA
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jhalliday Jonathan Halliday
                  Reporter:
                  jhalliday Jonathan Halliday
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: