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 2013/08/28 11:22:52 UTC

[jira] [Commented] (OAK-980) Add status information for the async index process

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

Alex Parvulescu commented on OAK-980:
-------------------------------------

First bits are in with rev http://svn.apache.org/r1518117

I'll leave this open for now for testing and feedback.
                
> Add status information for the async index process
> --------------------------------------------------
>
>                 Key: OAK-980
>                 URL: https://issues.apache.org/jira/browse/OAK-980
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, query
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>            Priority: Minor
>
> The _AsyncIndexUpdate_ background thread handles the async update of any index (usually lucene for now, but it could be any index, really).
> Besides the debug run logs, there is not much info on what the status is, if it's still running or not, etc.
> I'm going to add some basic status updates, like _async-status_ which can be _running_ or _done_, _async-start_ which indicates the start time of the async  index thread (null if it's not running) and _async-done_ which will indicate the last finish time (null if it's still running).
> These bits of info should be enough to be able to tie in some code to fetch the index status grammatically.
> Lastly, the status properties will be on the _oak:index_ node, even if the async indexer relies on a hidden node _:async_ which (I think) exists under the root node directly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira