[jbossts-issues] [JBoss JIRA] (JBTM-3239) Failing AfterLRA participant calls are not repeated

Martin Stefanko (Jira) issues at jboss.org
Mon Jan 6 04:52:12 EST 2020


    [ https://issues.redhat.com/browse/JBTM-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13941468#comment-13941468 ] 

Martin Stefanko commented on JBTM-3239:
---------------------------------------

[~ochaloup] to answer your question please check https://issues.redhat.com/browse/JBTM-3228. There is a pseudo new use case for Forget calls. But in general, your perspective is right.

> The participant is Completed/Compensated when the HTTP REST call, to the appropriate participant's method, finishes with success. The AfterLRA is only an additional announcement that informs how the whole LRA finished. In other words the AfterLRA does not influence the final state of the participant.

This is precisely the reason why I am asking. The participant (let's stick with afterLRA only) will be already Completed/Compensated but if subsequent fterLRA call fails it will appear in the recovery call as not yet completed (because it will return H_H). So we internally know it is already completed/compensated but for the external viewer, this information is not available -- there is no difference between failing Complete/Compensate call and failing AfterLRA call from the external perspective. I am not sure if this is a problem because LRA will truly be finished (removed from ObjectStore) only when even all AfterLRA calls are delivered.

> Failing AfterLRA participant calls are not repeated
> ---------------------------------------------------
>
>                 Key: JBTM-3239
>                 URL: https://issues.redhat.com/browse/JBTM-3239
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: LRA
>    Affects Versions: 5.10.1.Final
>            Reporter: Martin Stefanko
>            Assignee: Martin Stefanko
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jbossts-issues mailing list