Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3977

org.apache.sling.discovery.impl bundle gets deactivated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Discovery Impl 1.0.10
    • Discovery Impl 1.0.12
    • Extensions
    • None

    Description

      When removing the content under /var/discovery/impl, the org.apache.sling.discovery.impl bundle will be deactivated.

      Looking at the code, the org.apache.sling.discovery.impl.common.heartbeat.HeartbeatHandler does deactivate the bundle when it detects two instances using the same sling.id in the same topology. This mechanism was implemented in SLING-2892, SLING-2901.

      When removing the content under /var/discovery/impl, the code will detect this as a having two instances with the same id and thus disable the bundle.

      Those two cases, should be differentiated.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            marett Timothee Maret
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: