]
Michael Musgrove updated JBTM-3247:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Failed LRA records are reported but they not kept
-------------------------------------------------
Key: JBTM-3247
URL:
https://issues.redhat.com/browse/JBTM-3247
Project: JBoss Transaction Manager
Issue Type: Enhancement
Components: LRA
Affects Versions: 5.10.3.Final
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Priority: Blocker
Fix For: 5.next
When an LRA is closed/cancelled and some participants will never be able to
complete/compensate then they are placed on the [BasicAction] failedList. The MP-LRA spec
only requires that such failures are logged. The narayana implementation does indeed log
the failure (using a log WARNING statement) but then removes the transaction record from
the object store.
It would be preferable to leave failed LRA's in the store and allow them to be
queried and deleted using the REST coordinator (like we do for recovering LRA's).