[jbossts-issues] [JBoss JIRA] (JBTM-2836) Add suppressed exceptions for failures during prepare for XA spec non-compliant cases
Ondra Chaloupka (JIRA)
issues at jboss.org
Wed Jan 11 09:59:01 EST 2017
Ondra Chaloupka created JBTM-2836:
-------------------------------------
Summary: Add suppressed exceptions for failures during prepare for XA spec non-compliant cases
Key: JBTM-2836
URL: https://issues.jboss.org/browse/JBTM-2836
Project: JBoss Transaction Manager
Issue Type: Enhancement
Components: Transaction Core
Affects Versions: 5.5.0.Final
Reporter: Ondra Chaloupka
Assignee: Ondra Chaloupka
Priority: Minor
There was a request for include causing exceptions to list of suppressed ones when an error happens during 2PC prepare call. That was fixed by JBTM-2822.
The fix left aside a branch of code under {{doPrepare}} method which handles cases when {{XAResourceRecord#topLevelPrepare}} ends in situation which is not compliant with XA specification (https://github.com/jbosstm/narayana/blob/5.5.0.Final/ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/resources/arjunacore/XAResourceRecord.java#L280)
Then there is taken code to
https://github.com/jbosstm/narayana/blob/5.5.0.Final/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/coordinator/BasicAction.java#L2742
This enhancement follows the fix JBTM-2822 and saves deferred exception at that case as well.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbossts-issues
mailing list