You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2014/09/19 14:49:33 UTC

[jira] [Commented] (OAK-2004) Add a way to pause the background async indexer

    [ https://issues.apache.org/jira/browse/OAK-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14140426#comment-14140426 ] 

Alex Parvulescu commented on OAK-2004:
--------------------------------------

merged to 1.0 with rev 1614891.

> 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
>             Fix For: 1.1, 1.0.6
>
>         Attachments: OAK-2004-v2.patch, 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.3.4#6332)