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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/11/23 06:45:58 UTC

[jira] [Resolved] (OAK-5140) Collect stats around number of nodes traversed by AsyncIndexer

     [ https://issues.apache.org/jira/browse/OAK-5140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chetan Mehrotra resolved OAK-5140.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.15

Now stats around changedNodeCount and changed property count would also be collected and following log would be made

{noformat}
 [fulltext-async] AsyncIndex update run completed in 3.670 ms. Indexed 0 nodes, changedNodeCount  3, changedPropertyCount 1 
{noformat}

> Collect stats around number of nodes traversed by AsyncIndexer
> --------------------------------------------------------------
>
>                 Key: OAK-5140
>                 URL: https://issues.apache.org/jira/browse/OAK-5140
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.6, 1.5.15
>
>
> At times we see very long time in async index update cycle
> {noformat}
> 06.11.2016 18:16:18.703 *INFO* [aysnc-index-update-async] org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate [async] AsyncIndex update run completed in 25.58 min. Indexed 7498 nodes
> 06.11.2016 18:41:43.088 *INFO* [aysnc-index-update-async] org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate [async] AsyncIndex update run completed in 24.79 min. Indexed 28335 nodes
> {noformat}
> It would be good to also include the number of nodes traversed in that diff



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)