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


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