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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.15
    • Component/s: core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: