[jbossts-issues] [JBoss JIRA] (JBTM-3163) AfterLRA notifications are delivered twice
Michael Musgrove (Jira)
issues at jboss.org
Fri Aug 23 03:33:00 EDT 2019
[ https://issues.jboss.org/browse/JBTM-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13774440#comment-13774440 ]
Michael Musgrove edited comment on JBTM-3163 at 8/23/19 3:32 AM:
-----------------------------------------------------------------
Martin your work has already been merged so I therfore marked the issue as minor since the LRA guarantees at least once semantics on delivery of notifications - ie duplicates are allowed.
But it is a bug for the implementation to deliver the notification twice so the issue still needs fixing.
was (Author: mmusgrov):
I marked the issue as minor since the LRA guarantees at least once semantics on delivery of notifications - ie duplicates are allowed.
But it is a bug for the implementation to deliver the notification twice so the issue still needs fixing.
> AfterLRA notifications are delivered twice
> ------------------------------------------
>
> Key: JBTM-3163
> URL: https://issues.jboss.org/browse/JBTM-3163
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: LRA
> Affects Versions: 5.9.5.Final
> Reporter: Martin Stefanko
> Assignee: Martin Stefanko
> Priority: Minor
> Original Estimate: 1 hour
> Time Spent: 1 hour
> Remaining Estimate: 0 minutes
>
> @AfterLRA notifications recently introduced in the specification are being delivered twice when the LRA is finished.
> There is actually a TCK test testing this for non JAX-RS participant so this is blocking [PR 1450|https://github.com/jbosstm/narayana/pull/1450].
> The failing TCK test `TckParticipantTests#validWebApplicationExceptionReturnedTest` asserts now that `@AfterLRA` method is called once after the LRA is finished - https://github.com/eclipse/microprofile-lra/blob/master/tck/src/main/java/org/eclipse/microprofile/lra/tck/TckParticipantTests.java#L82. This means that the specification prohibits that AfterLRA method is called more than once for one LRA.
> This isn't failing current TCK as the assert is present in the non-JAX-RS TCK ([PR 1450|https://github.com/jbosstm/narayana/pull/1450])
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jbossts-issues
mailing list