[jbossts-issues] [JBoss JIRA] (JBTM-3245) Check the behaviour when LRA enlistment fails due to coordinator unavailability

Michael Musgrove (Jira) issues at jboss.org
Tue Jul 21 09:37:00 EDT 2020


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

Michael Musgrove commented on JBTM-3245:
----------------------------------------

There is no TCK test for this scenario because the TCK does not assume any particular implementation technique. Narayana supports remote coordinators so it would be useful to have a test for this. Code inspection shows that we do do the correct thing:

the code that tries to enlist a participant (ServerLRAFilter) catches WebApplicationException and aborts the JAX-RS request. The after filter then checks the JAX-RS response code and cancels the LRA if the code is present in the "cancelOn..." LRA attribute element.

 

But we do need to test it although whether the blocker priority is correct is debatable.

> Check the behaviour when LRA enlistment fails due to coordinator unavailability
> -------------------------------------------------------------------------------
>
>                 Key: JBTM-3245
>                 URL: https://issues.redhat.com/browse/JBTM-3245
>             Project: JBoss Transaction Manager
>          Issue Type: Task
>          Components: LRA
>    Affects Versions: 5.10.3.Final
>            Reporter: Michael Musgrove
>            Priority: Blocker
>             Fix For: 5.next
>
>
> There is no test that verifies an LRA is cancelled if a participant tries to join with an LRA and fails because an external coordinator is unavailable.



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



More information about the jbossts-issues mailing list