[
https://issues.apache.org/jira/browse/OAK-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14079122#comment-14079122
]
Michael Dürig commented on OAK-2004:
------------------------------------
+1, but we should place a warning next to it that it should only be used for
debugging/diagnosis purposes and is not meant for production.
> Add a way to pause the background async indexer
> -----------------------------------------------
>
> Key: OAK-2004
> URL: https://issues.apache.org/jira/browse/OAK-2004
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: Alex Parvulescu
> Assignee: Alex Parvulescu
> Priority: Minor
> Attachments: pause-async-index.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)