[ 
https://issues.apache.org/jira/browse/UIMA-6061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerry Cwiklik closed UIMA-6061.
-------------------------------
    Resolution: Fixed

Modified to send inventory update as soon as agent receives process update 
event to reduce potential of a race documented in this Jira.

> UIMA-DUCC: Fix race in agent
> ----------------------------
>
>                 Key: UIMA-6061
>                 URL: https://issues.apache.org/jira/browse/UIMA-6061
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Major
>             Fix For: 3.0.1-Ducc
>
>
> There is a race condition in agent which leads to incorrect process reporting 
> in Duccmon. In this scenario the following happened:
>  * agent started JP
>  * JP reported Initializing state which agent then publishes to the OR
>  * JP reported Running state but immediately after died due to process error. 
> The agent detected process termination (before publishing Running to OR) and 
> changed state to failed with reason Unknown
> The result is that the OR thinks that the JP died while Initializing since 
> Running state was never published. There is a small window where the race can 
> occur.



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

Reply via email to