[jbossts-issues] [JBoss JIRA] (JBTM-1289) XTS participant completion tests should use a rendezvous to delay close until participant has completed

Paul Robinson (JIRA) jira-events at lists.jboss.org
Mon Oct 8 06:31:03 EDT 2012

    [ https://issues.jboss.org/browse/JBTM-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724604#comment-12724604 ] 

Paul Robinson commented on JBTM-1289:

This problem only really happens when all parties (participants, coordinator and client) are running in the same VM. Also, when it does happen, it just causes transactions to be aborted that otherwise would have completed successfully. Therefore we don't yet see the need ofr a feature in XTS to prevent this. Maybe one day the community might report this problem, if so we can tackle it then.
> XTS participant completion tests should use a rendezvous to delay close until participant has completed
> -------------------------------------------------------------------------------------------------------
>                 Key: JBTM-1289
>                 URL: https://issues.jboss.org/browse/JBTM-1289
>             Project: JBoss Transaction Manager
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Paul Robinson
>            Assignee: Paul Robinson
>             Fix For: 4.16.7, 4.17.1, 5.0.0.M2
> The problem is that the participant's notification of completion (sent to the coord) is asynchronous. This can be overtaken by the client's "close" message, resulting in the coordinator cancelling the activity, due to not all participants being completed.
> The hack is to add a delay before the client calls 'close'. We have that on the tests in TS, as a stop gap. I am reluctant to apply this hack to the AS test suite as it's embarrassing and likely to be rejected ;-)
> This issue is to resolve the problem properly. Maybe by using a Byteman Rendezvous. Alternatively there may be some XTS feature that we can use to poll the coordinator. Or maybe we can add it, as the client API is not standardized.
> This issue is not urgent for the TS tests as the hack seems to be holding out at present. However, we do occasionally see this issue on the XTS AS integration testsuite, which increases the priority.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the jbossts-issues mailing list