Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2841

BinaryHeapQueueAgendaGroup fails to return top salience item

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 5.2.0.M2
    • 5.1.1.FINAL
    • drools-core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              mproctor@redhat.com Mark Proctor
              kstathatos_jira Kostas Stathatos (Inactive)
              Archiver:
              rhn-support-ceverson Clark Everson

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty