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

Avoid async indexer commits when there are no changes to index

    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

        1. callback.patch
          37 kB
          Alex Deparvu
        2. callback-v2.patch
          31 kB
          Alex Deparvu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: