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/03/03 21:44:50 UTC

[jira] Updated: (UIMA-838) Incorrect support for process CAS error threshold count and threshold window

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

Jerry Cwiklik updated UIMA-838:
-------------------------------

    Attachment: uimaj-as-core-UIMA-838-patch.txt

Fixed uima-as error handling logic to support moving window concept for tracking errors and triggering actions based on defined thresholds. 

> Incorrect support for process CAS error threshold count and threshold window 
> -----------------------------------------------------------------------------
>
>                 Key: UIMA-838
>                 URL: https://issues.apache.org/jira/browse/UIMA-838
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Burn Lewis
>         Attachments: uimaj-as-core-UIMA-838-patch.txt
>
>
> The thresholdAction should be taken when the number of CAS errors reaches the thresholdCount value within the last thresholdWindow CASes.  A thresholdWindow of 0 means an infinite window, so the action is taken when the total number of errors reaches the thresholdCount.  A thresholdCount of 0 means an infinite limit, errors are ignored.  A thresholdCount of 1 means that the first error triggers the action, hence the action must be taken when the threshold is REACHED, not exceeded as stated in the current docs.  (Although thresholds usually apply when exceeded, making the thresholdCount be the number permitted would require using a value such as -1 for no threshold, in contrast to our use of 0 to mean no timeout and no window)
> It should be an error to specify a (non-zero) thresholdWindow that is smaller than the thresholdCount ... an impossible situation.
> Note that if thresholdCount = 1 the thresholdWindow value is irrelevant, and if thresholdCount = thresholdWindow the action is taken when that many consecutive errors occur.

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