Martin Stefanko created JBTM-3341:
-------------------------------------
Summary: Failed participant should mark the enclosed LRA as failed
Key: JBTM-3341
URL:
https://issues.redhat.com/browse/JBTM-3341
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.10.4.Final
Reporter: Martin Stefanko
Assignee: Martin Stefanko
when executing {{TckContextTests#testStatus,TckContextTests#testForget}} one after another
the LRA started in testForget is kept in Closing state in object store even when it's
removed from the in memory LRA lists. When the testStatus invokes recovery this LRA is
also recovered (because it's still in Closing state) and then it's kept even in
the in memory recovery list and again displayed to users. The testForget LRA is finished
with failing participant (returning FailedToComplete) and the second phase correctly
returns FINISH_ERROR, however, this change needs to be also reflected in the state of the
parent Transaction object.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)