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

A BatchCommand triggering a rule which modifies the KBase causes a deadlock

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: Major Major
    • None
    • None
    • None
    • None

      Create a BatchCommand containing an insert and a fireAll. Make that inserted fact activate a rule which modifies the KBase, e.g. adding another rule on the fly.
      When executing the batch command, the thread will acquire a read lock. The kBase modification will then require a write lock, causing the deadlock.

              mfusco@redhat.com Mario Fusco
              mfusco@redhat.com Mario Fusco
              Archiver:
              rhn-support-ceverson Clark Everson

                Created:
                Updated:
                Resolved:
                Archived: