Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6605

Provide job name for async index update

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.7, 1.8.0
    • core
    • None

    Description

      Starting with Sling Scheduler 2.6.0 runOn=SINGLE jobs are not scheduled exclusively on the leader anymore (SLING-5387). The implementation will try to distribute them evenly on all cluster nodes. The placement of these jobs depends on the name of the job, which is currently not set by Oak for the async index updates. In this case Sling will generate a name using the service id, but this is not guaranteed to be the same across all cluster nodes.

      This means, it may happen that an async index update job is not scheduled at all, because all cluster nodes assume some other cluster node will schedule the job. Oak should therefore provide a name for the async index update jobs it schedules to help Sling identify those jobs.

      Please note, there is a problem with the initial implementation of this feature in Sling, which got fixed in 2.7.0: SLING-7037

      Attachments

        Issue Links

        Activity

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

          People

            mreutegg Marcel Reutegger
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment