-
Enhancement
-
Resolution: Done
-
Minor
-
5.12.0.Final
-
None
Change the logging of the error during AfterLRA call from coordinator. Currently it's hidden under debug without the whole stacktrace. When an error happens then it's "invisible" without details. When the call goes wrong then it leads to an unrecoverable LRA records -
(afterLRARequest returns false and the TwoPhaseOutcome.HEURISTIC_HAZARD is returned, see the initial call at https://github.com/jbosstm/narayana/blob/5.12.0.Final/rts/lra/coordinator/src/main/java/io/narayana/lra/coordinator/domain/model/LRAParticipantRecord.java#L504
-> https://github.com/jbosstm/narayana/blob/5.12.0.Final/rts/lra/coordinator/src/main/java/io/narayana/lra/coordinator/domain/model/LRAParticipantRecord.java#L511
(return report ? reportFailure(lraStatus.name()) : TwoPhaseOutcome.HEURISTIC_HAZARD).
The reason for the LRA to be unrecoverable is difficult to find without debugging or trace logging.