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

Jerry Cwiklik commented on UIMA-1293:
-------------------------------------

A remote (primitive) cas multiplier's  process() method returns an input CAS 
back to the client only if ALL CASes produced by the CM have been released. 
This is wrong. The correct logic is to release the input CAS when all *its* 
children have been released. Modified the code to use a child count associated 
with the input CAS when making a decision whether or not to send the input CAS 
back to the client.


> Replies from remote CasMultipliers that don't always generate CASes are not 
> handled correctly
> ---------------------------------------------------------------------------------------------
>
>                 Key: UIMA-1293
>                 URL: https://issues.apache.org/jira/browse/UIMA-1293
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Burn Lewis
>             Fix For: 2.3
>
>         Attachments: UIMA1293.patch
>
>
> If a remote CM generates 1 CAS for every N input, some of the childless 
> parents do not continue in the flow. Since the default FC uses 
> "dropIfNewCasProduced" all CASes should continue in the flow except for every 
> N-th one being replaced by its child.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to