[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)
Ertugrul Akbas (JIRA)
issues at jboss.org
Tue Nov 15 14:34:00 EST 2016
Ertugrul Akbas created DROOLS-1362:
--------------------------------------
Summary: 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: Edson Tirelli
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.2.3#72005)
More information about the jboss-jira
mailing list