Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.