<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Mario has found an issue at a sync point, which can happen if it’s trying to schedule a timer at the same time that it’s firing that same timer from an update. We are trying to resolve that now. See lines 121 and 394, which later impacts lines 289 and 330.<div><a href="https://github.com/droolsjbpm/drools/blob/master/drools-core/src/main/java/org/drools/core/phreak/PhreakTimerNode.java">https://github.com/droolsjbpm/drools/blob/master/drools-core/src/main/java/org/drools/core/phreak/PhreakTimerNode.java</a></div><div><br></div><div>Once we have this solved, we should have expected behaviour. Hopefully you can try this in the next 6.1 beta, in 2 weeks time.</div><div><br></div><div>Mark<br><div><div>On 29 Mar 2014, at 09:00, Vieri &lt;<a href="mailto:vieri.emiliani@gmail.com">vieri.emiliani@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Mark,<div>thanks for your update.&nbsp;</div><div>I don't know if this can help, but I added a simple AgendaEventListener to the test case and it seems that at some point drools stops matching the "Create event" rule, while facts (well, events) are still inserted and other rules are triggered properly.</div>
<div>Vieri</div>
<div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 28 March 2014 16:57, Mark Proctor <span dir="ltr">&lt;<a href="mailto:mproctor@codehaus.org" target="_blank">mproctor@codehaus.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">we’ve being auditing the code here, and we’ve found an issue on what happens when a rule is re-matched and the timer updated. Mario is addressing this now, and also re-viewing dropping of output. He’ll post with an update soon.<div>
<br></div><div>Mark<br><div><div>On 25 Mar 2014, at 16:09, Vieri &lt;<a href="mailto:vieri.emiliani@gmail.com" target="_blank">vieri.emiliani@gmail.com</a>&gt; wrote:</div><br><blockquote type="cite"><div dir="ltr">First of all, thanks for the support.<div>
Mario, I confirm that the case you provided works fine also at my side. Still, have you tried my first example (using the cron directly to the counting rule)? Can you confirm it is not working, since this was my first concern?</div>

<div>As I said in the previous post, using the CronTrigger pattern greatly improves stability (I managed to run it at 500 eps), but it is not resolutive.</div><div>Adding a few rules, it's enough to go back to instability.&nbsp;</div>

<div><br></div><div><br></div></div></blockquote></div></div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Vieri Emiliani<br></div>
</div>
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users</blockquote></div><br></div></body></html>