Error handling for CASes generated in an aggregate needs clarification.
-----------------------------------------------------------------------

                 Key: UIMA-1246
                 URL: https://issues.apache.org/jira/browse/UIMA-1246
             Project: UIMA
          Issue Type: Bug
          Components: Async Scaleout
            Reporter: Eddie Epstein


Burn raised the question of error handling for CM children within a 
multi-threaded UIMA AS aggregate. A summary of discussion with Burn, Adam, 
Jerry, Marshall and Eddie is below.

A child CAS is a CAS that was generated by a CasMultiplier delegate within the 
same aggregate. The child's parent CAS will never be returned by an aggregate 
until all processing of it's children is completed.

A child CAS may encounter an error condition while being processed by a 
delegate. If the delegate error handling results in a non-recoverable error, 
processing of the child's parent CAS will be stopped and the error report will 
be returned against that parent CAS. If the parent CAS is itself a child CAS, 
the error will be propagated to its parent CAS.

Note:
The parent CAS(es) may have other outstanding children in play (currently being 
processed). Our discussion touched on but did not fully analyze whether 
processing on these children should continue or be stopped. More discussion 
needed.


-- 
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