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

Burn Lewis updated UIMA-1355:
-----------------------------

    Attachment: UIMA-1355_test_uimaj-as-activemq.patch

Here's a patch that makes testProcessParallelFlowWithDelegateDisable fail as it 
now checks that the other delegate's results do get merged into the CAS.  If 
the final CheckTextAnnotator does not find a SourceDocumentInformatiom 
annotation it fails the test.

> When one delagate in a parallel step fails, the flow continues without 
> waiting for the last reply
> -------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-1355
>                 URL: https://issues.apache.org/jira/browse/UIMA-1355
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Burn Lewis
>             Fix For: 2.3S
>
>         Attachments: UIMA-1355_test_uimaj-as-activemq.patch
>
>
> When a delegate in a parallel step fails the number of replies received is 
> incremented twice, so the reply from the last delegate is not merged into the 
> CAS.  When it is received it will reenter the flow if the CAS is still 
> active, causing even more trouble.
> I have a test case that demonstrates the problem.
> Also we should make the check for all-replies-received atomic so that only 
> one reply- or error-processing thread will send the CAS on to the next step, 
> or, depending on the error-handling, discard the CAS or terminate the service.

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