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

Add a way to pause the background async indexer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.6, 1.1.0
    • core
    • None

    Description

      It would be nice to be able to pause the background async indexer, this is mostly for debugging purposes.

      I see it as a 'pause' flag exposed via jmx which would act as a global setting (not index specific, it would block all existing async indexers). The methods exposed would be: pause and resume.
      Setting the flag would simply turn the runnable into a noop but the task will still get called, I'm not planning on messing around with stopping and starting background threads.

      Attachments

        1. OAK-2004-v2.patch
          6 kB
          Alex Deparvu
        2. pause-async-index.patch
          5 kB
          Alex Deparvu

        Activity

          People

            stillalex Alex Deparvu
            stillalex Alex Deparvu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: