[jboss-jira] [JBoss JIRA] (DROOLS-1362) accumulate and over window:time usage will stuck drools for a while (from minutes to hours according to number of facts)

Mario Fusco (Jira) issues at jboss.org
Thu Oct 11 05:29:00 EDT 2018


     [ https://issues.jboss.org/browse/DROOLS-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco updated DROOLS-1362:
--------------------------------
    Sprint: 2018 Week 42-44


> accumulate and over window:time usage will stuck drools for a while (from minutes to hours according to number of facts)
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-1362
>                 URL: https://issues.jboss.org/browse/DROOLS-1362
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 6.5.0.Final
>            Reporter: Ertugrul Akbas
>            Assignee: Mario Fusco
>            Priority: Major
>         Attachments: Droolslog.zip
>
>
> We are testing a simple rule. The rule is:
> import com.anet.correlation.*;
> import java.util.*;
> import com.anet.ntLog.collector.*; 
> import com.anet.alarm.*;
> import com.anet.util.*;
> import com.anet.correlation.operators.*; 
> import com.anet.correlation.utils.*; 
> declare EPSObject
>                @role(event)
>               
> end
> rule "test"
> when
>  Number( ) from accumulate(
>        generalcorrelationobject1:EPSObject(name=='ert', $temp :avg_snmptrapeps)  over window:time( 3m ),
>         average( $temp ) )
> then
> end
> we are inserting facts continuously and after 3 minutes  - the time which is given  as "over window:time( 3m )" -
> drools stuck and then after minutes , starts to conitinue.
> Not: When we test with "over window:time( 30m )" stuck 30 minutes later or When we test with "over window:time( 10m )" stuck 10 minutes later 
> Any comment?



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list