Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2664

Move ProgressNotificationEditor from upgrade module to core

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.8
    • upgrade
    • None

    Description

      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

      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
      

      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

      Attachments

        Activity

          People

            chetanm Chetan Mehrotra
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: