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 2015/03/21 13:39:38 UTC

[jira] [Commented] (OAK-2664) Move ProgressNotificationEditor from upgrade module to core

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

Chetan Mehrotra commented on OAK-2664:
--------------------------------------

[~mduerig] Thoughts? Would it be fine to move it to {{org.apache.jackrabbit.oak.spi.commit}} package?

> Move ProgressNotificationEditor from upgrade module to core
> -----------------------------------------------------------
>
>                 Key: OAK-2664
>                 URL: https://issues.apache.org/jira/browse/OAK-2664
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: upgrade
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.1.8
>
>
> Oak Upgrade module has a {{ProgressNotificationEditor}} to notify the progress as the editor traverses the repository. It would be useful to have this in oak-core and use this to wrap the editors performing reindexing.
> Currently in upgrade this editor emits logs like 
> {noformat}
> 01:29:15.404 INFO  [main] ProgressNotificationEditor.java:51 Checking node types: /content/kb/home/cq5/Development/SlingBootdelegation/jcr:content/par/text
> 01:29:15.640 INFO  [main] ProgressNotificationEditor.java:51 Checking node types: /content/ddc/en/feeds/cq-forums/2013/05/validationifo_object
> 01:29:15.845 INFO  [main] ProgressNotificationEditor.java:51 Checking node types: /content/ddc/lists/2011/01/_jira_created_jcr1
> 01:29:15.943 INFO  [main] ProgressNotificationEditor.java:51 Checking node types: /content/ddc/lists/2010/08/davidgsoc2010_sugge/jcr:content/par/entry
> 01:29:16.032 INFO  [main] ProgressNotificationEditor.java:51 Checking node types: /content/ddc/lists/2010/06/gsoc_report
> 01:29:16.165 INFO  [main] ProgressNotificationEditor.java:51 Checking node types: /content/ddc/blog/2008/04/opensocialjcr
> {noformat}
> This provides some clue about progress however no such notification is done when editors are busy in reindexing.
> Further I would also like to emit the count



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