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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment