[jbossts-issues] [JBoss JIRA] (JBTM-3082) Coordinator reports LRA as compensating when the participant is not able to finish complete method invocation immediately

Michael Musgrove (Jira) issues at jboss.org
Fri Jun 7 10:20:03 EDT 2019


     [ https://issues.jboss.org/browse/JBTM-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Musgrove updated JBTM-3082:
-----------------------------------
    Fix Version/s: 5.next


> 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
>            Priority: Major
>             Fix For: 5.next
>
>
> 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/src/main/java/io/narayana/lra/coordinator/domain/model/Transaction.java#L404
> [2] https://github.com/jbosstm/narayana/blob/master/rts/lra/lra-coordinator/src/main/java/io/narayana/lra/coordinator/domain/model/LRARecord.java#L387



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jbossts-issues mailing list