You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2019/01/18 21:50:00 UTC

[jira] [Commented] (UIMA-5965) UIMA-DUCC: pullservice client protocol handler synchronization not working

    [ https://issues.apache.org/jira/browse/UIMA-5965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16746702#comment-16746702 ] 

Jerry Cwiklik commented on UIMA-5965:
-------------------------------------

Also, add a new JUnit test to cover the scenario where there are multiple service types requesting tasks.

> UIMA-DUCC: pullservice client protocol handler synchronization not working
> --------------------------------------------------------------------------
>
>                 Key: UIMA-5965
>                 URL: https://issues.apache.org/jira/browse/UIMA-5965
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Major
>             Fix For: 2.2.3-Ducc
>
>
> The getMetaMetaTask() method synchronization is not working as expected. The retry loop uses java wait() which does not lock the method and allows multiple threads to run concurrently. Use Thread.currentThread().sleep() instead



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)