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

Avoid async indexer commits when there are no changes to index

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

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.15
    • core
    • None

    Description

      Currently, since OAK-980 (and OAK-1246), the asynchronous indexer makes two commits per invocation regardless of whether there are any changes to the indexed content. This can be a bit confusing and in some cases even troublesome especially in a mostly read-only deployments where the frequent extra commits just add unnecessary noise.

      It would be better if the async indexer only made commits when there actually are content changes to be indexed.

      Attachments

        Activity

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

          People

            stillalex Alex Deparvu
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment