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

fusion not evicting events from memory when it should

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 5.2.0.CR1
    • 5.1.1.FINAL
    • drools-core (fusion)
    • None
    • Hide

      download attached zip archive and unzip.
      navigate into the unzipped directory
      run "mvn clean install" (require maven 2+ and a jdk on the path)

      watch the fireworks (test failure)

      Show
      download attached zip archive and unzip. navigate into the unzipped directory run "mvn clean install" (require maven 2+ and a jdk on the path) watch the fireworks (test failure)

      using the following declaration:

      declare Event
      @role( event )
      @duration ( duration )
      @timestamp( finished )
      end

      when writing the following rule:

      rule "Match Any Two Events In Window"
      when
      $eventOne : Event() over window:time( 3d ) from entry-point "Event Stream"
      $eventTwo : Event() over window:time( 3d ) from entry-point "Event Stream"
      then
      //nothing
      end

      and simulating a long run (longer than 3 days), old events (older than 3 days) are not evicted from memory. however, dropping the $eventTwo line entirely evicts events from memory properly

            etirelli@redhat.com Edson Tirelli
            hatchetman82 Radai Rosenblatt (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

              Created:
              Updated:
              Resolved:
              Archived: