]
Mario Fusco commented on DROOLS-1362:
-------------------------------------
poker: 5
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?