[
https://issues.apache.org/jira/browse/UIMA-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerry Cwiklik closed UIMA-1981.
-------------------------------
Resolution: Fixed
Modified simpleStep() in UIMA AS aggregate to set replyReceived flag to false
before dispatching CAS to a delegate
> UIMA AS releases parent CAS prematurely
> ---------------------------------------
>
> Key: UIMA-1981
> URL: https://issues.apache.org/jira/browse/UIMA-1981
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Jerry Cwiklik
> Assignee: Jerry Cwiklik
> Fix For: 2.3.1AS
>
>
> UIMA AS aggregate uses a child counter along with a few booleans kept in a
> cache to determine when to put parent CAS in play. If there are no more child
> CASes in play and the parent CAS has returned from a CM, the CAS may proceed
> into a finalStep() or into process() if parentProcessLast=true. Upon return
> from a CM, the state of the CAS is marked as returned from CM. Problem is it
> remains set to as returned even though it may be subsequently sent to another
> delegate CM. When the last child CAS is processed, the parent CAS is released
> even though it may still be in a CM delegate. The fix for this is to reset
> "return from delegate" flag to false before dispatching a CAS to the next
> delegate in a flow.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.