Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12244

Remove session lock from Drools in alarmd

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 25.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2019 - September 11th

      Description

      We currently use a session lock in the DroolsAlarmContext when handling callbacks in order to ensure that the facts remain consistent. We've identified some dead-locks with this lock and have added some timeout mechanisms to help reduce the effect.

      We should remove this lock altogether and use atomic actions instead:
      https://docs.jboss.org/drools/release/7.23.0.Final/drools-docs/html_single/#_performing_kiesession_operations_atomically_when_in_active_mode

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: