You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org> on 2008/11/26 21:56:44 UTC

[jira] Commented: (UIMA-1237) Fix "Cas Not Found In CasManager Cache" Error in the Parallel Step

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

Jerry Cwiklik commented on UIMA-1237:
-------------------------------------

Added additional fix that may cause a hang. This fix handles a a race condition when two threads are processing replies from delegates in a parallel step. There is a chance than more than one thread is allowed to call invokeProcess() with the same CAS. Also, moved cancelTimer() to the top of handleProcessResponseFromRemoteDelegate() method to cancel timer immediately. Added synchronized method that determines if the thread should call invokeProcess(). Only one thread is allowed to call this now.  

> Fix "Cas Not Found In CasManager Cache" Error in the Parallel Step
> ------------------------------------------------------------------
>
>                 Key: UIMA-1237
>                 URL: https://issues.apache.org/jira/browse/UIMA-1237
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>         Attachments: uimaj-as-core-UIMA-1237-patch-02.txt, uimaj-as-core-UIMA-1237-patch.txt
>
>
> There is an exception when processing a secondary reply from a delegate in a parallel step. The exception indicates that the CAS id received in a reply message from one of the delegates in the parallel step does not exist in the cache. The exception happens in the testcase that tests disable of one of the delegates in the parallel step. 

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