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

Jerry Cwiklik closed UIMA-2162.
-------------------------------

    Resolution: Fixed

Modified UIMA AS aggregate to prevent a parent CAS from accessing its Flow 
object until all child CASes obtain their Flow objects. 

> Fix UIMA AS race condition allowing parent CAS to hit the Flow Controller 
> ahead of its child CASes 
> ---------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-2162
>                 URL: https://issues.apache.org/jira/browse/UIMA-2162
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.3.1AS
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.3.2AS
>
>
> A race condition exists in the UIMA AS Aggregate with a scaled up reply 
> queue. Multiple, concurrent threads consuming CASes produced by a Cas 
> Multiplier execute at different speeds (most likely due to different 
> de-serialization times) allowing for a parent CAS to call Flow Controller's 
> next() method *before* all of its child CASes obtain their Flow objects. Add 
> necessary synchronization to orchestrate orderly  flow of CASes to make sure 
> that the parent CAS never reaches the Flow Controller ahead of its children.  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to