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

Status poller is created once per agent but should only be created once

    XMLWordPrintableJSON

Details

    Description

      We are creating the status poller once per distribution agent:

      https://github.com/apache/sling-org-apache-sling-distribution-journal/blob/0e38eb8dc91008f70c5ea64b4e1906afdc7dfda5/src/main/java/org/apache/sling/distribution/journal/impl/publisher/DistributionPublisher.java#L170

      This causes a lot of stress on the system as we also read the topic from earliest. 

      So if we have 4 agents we read all status messages 4 times which can be considerable data.

      Attachments

        Activity

          People

            cschneider Christian Schneider
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: