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

Pin async indexer on cluster leader

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.14, 1.8.0
    • Component/s: lucene
    • Labels:
      None

      Description

      Currently, async indexer creates some data locally to declare which index files have been deleted from the indexer. This information is used by active deletion's purge logic (to be invoked via jmx).

      Since, async indexer sets its task to scheduler to run as singleton on the cluster (not pinning to anywhere), then the active deletion jmx execution requires the knowledge where async indexer is scheduled.

      To avoid that uncertainty, it's better to instead pin the async indexer on cluster leader and document that active deletion jmx also needs to be invoked on cluster leader.

        Attachments

          Activity

            People

            • Assignee:
              catholicon Vikas Saurabh
              Reporter:
              catholicon Vikas Saurabh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: