Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2205

Cellar cluster event handler should check the local status before performing an operation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • cellar-3.0.0, cellar-2.3.3
    • cellar
    • None

    Description

      When a cluster event is broadcasted to the different event handlers, those cluster even handlers should check the local status of the resource before updating it.

      For instance, it means that the BundleEventHandler should check the if a bundle is not already started before starting it.

      Else, it means that we may have some infinite loops: the event handler "directly" updates the local resource, the local resource listener get the local change, and brodcasts a cluster event.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: