]
Michael Musgrove updated JBTM-3341:
-----------------------------------
Fix Version/s: 5.next
Failed LRA is not kept in FailedTo* state in the object store
-------------------------------------------------------------
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
Priority: Major
Fix For: 5.next
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.