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

LuceneIndexStatsUpdateCallback is slow and synchronous which leads to slowness

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.20.0, 1.10.6
    • Component/s: indexing
    • Labels:
      None

      Description

      LuceneIndexStatsUpdateCallback is slow and  synchronous which lead to slowness.

      Resolution:

      Make this callback to be executed only in asyncIndexUpdate and also make this configurable

      i.e. call only if  previous call + currentTime > configured time.

        Attachments

        1. OAK-8718.patch
          22 kB
          Mohit Kataria

          Activity

            People

            • Assignee:
              mkataria Mohit Kataria
              Reporter:
              mkataria Mohit Kataria
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: