subordinate tx runs beforeCompletion even when terminating rollbackOnly tx.
---------------------------------------------------------------------------
Key: JBTM-429
URL:
https://jira.jboss.org/jira/browse/JBTM-429
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JTA Implementation
Affects Versions: 4.4.0.GA, 4.2.3.CP02, 4.2.3.SP7
Reporter: Jonathan Halliday
Assignee: Jonathan Halliday
Fix For: 4.2.3.SP8, 4.2.3.CP03, 4.5
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira