[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-2841) BinaryHeapQueueAgendaGroup fails to return top salience item

Mark Proctor (JIRA) jira-events at lists.jboss.org
Wed Apr 20 00:29:33 EDT 2011


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

Mark Proctor resolved JBRULES-2841.
-----------------------------------

    Fix Version/s: 5.2.0.M2
       Resolution: Duplicate Issue


This is a duplicate of  JBRULES-2942 and has now been fixed.

> BinaryHeapQueueAgendaGroup fails to return top salience item
> ------------------------------------------------------------
>
>                 Key: JBRULES-2841
>                 URL: https://issues.jboss.org/browse/JBRULES-2841
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core
>    Affects Versions: 5.1.1.FINAL
>            Reporter: Kostas Stathatos
>            Assignee: Mark Proctor
>             Fix For: 5.2.0.M2
>
>         Attachments: BinaryHeapQueueAgendaGroupTest.java, trace.txt
>
>
> We have come across a case where the rules engine does not fire the top priority (top salience) rule. After a lot of careful debugging, it seems that the BinaryHeapQueueAgendaGroup implementation (and most likely the supporting BinaryHeapQueue) has a bug. It is not a common case and it was hard to reproduce. We have put together a junit test to show the problem. The test "replays" the trace from the case where we show the error (sparing you from all the complexity of the actual rules and produced it). I will attach the JUnit test and the trace file that drives the test.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list