Martin Stefanko created JBTM-3082:
-------------------------------------
Summary: Coordinator reports LRA as compensating when the participant is not
able to finish complete method invocation immediately
Key: JBTM-3082
URL:
https://issues.jboss.org/browse/JBTM-3082
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.9.0.Final
Reporter: Martin Stefanko
Assignee: Michael Musgrove
If the participant cannot finish the complete method invocation immediately and thus
returns 202 ACCEPTED return code and then somebody calls get status of the finishing LRA,
the coordinator reports it as CompensatorStatus.Compensating instead of
CompensatorStatus.Completing.
The status of the finishing LRA is changed to Compensating here [1] possibly because of
this line [2] as heuristicList is not empty.
[1]
https://github.com/jbosstm/narayana/blob/master/rts/lra/lra-coordinator/s...
[2]
https://github.com/jbosstm/narayana/blob/master/rts/lra/lra-coordinator/s...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)