Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6
    • Component/s: None
    • Labels:
      None

      Description

      Currently the consistency report items only contain a node id and a message string. I see the following use cases benefit from more information:

      • allow callers of the consistency checker to do postprocessing of nodes such as putting extra information on a fixed node
      • allow callers of the consistency checker to do custom reporting with statistics on type of inconsistencies and other information such as number and id of virtual nodes
      • inconsistencies typically involve two node ids: a subject and an object node (for instance orphaned nodes have a node id but also the id of the parent that is no longer present)

      I created a patch that enhances the consistency report items with the following information:

      • aside from node id (the subject of the report item) also an object node id
      • each report item has an event type, such as 'abandoned', 'orphaned', etc.
      • report items also report root nodes and virtual nodes

        Activity

        Unico Hommes created issue -
        Unico Hommes made changes -
        Field Original Value New Value
        Attachment morereportinfo.patch [ 12519933 ]
        Hide
        Unico Hommes added a comment -

        Patch against 2.6 trunk. Includes patches JCR-3267, JCR-3265 and JCR-3269

        Show
        Unico Hommes added a comment - Patch against 2.6 trunk. Includes patches JCR-3267 , JCR-3265 and JCR-3269
        Unico Hommes made changes -
        Assignee Unico Hommes [ unico@apache.org ]
        Unico Hommes made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Unico Hommes added a comment -

        Added consistency type information to report items on trunk in revision 1439927.

        Show
        Unico Hommes added a comment - Added consistency type information to report items on trunk in revision 1439927.
        Hide
        Unico Hommes added a comment -

        And backported the same to the 2.6 branch in revision 1439940.

        Show
        Unico Hommes added a comment - And backported the same to the 2.6 branch in revision 1439940.
        Unico Hommes made changes -
        Fix Version/s 2.6 [ 12319480 ]
        Fix Version/s 2.7 [ 12323977 ]
        Hide
        Jukka Zitting added a comment -

        This will go out in Jackrabbit 2.6.0 so resolving as fixed. Let's use follow-up issues for possible further enhancements.

        PS. Note that the improved consistency checker seems to have uncovered some problem in the way concurrent imports are handled. See JCR-3504.

        Show
        Jukka Zitting added a comment - This will go out in Jackrabbit 2.6.0 so resolving as fixed. Let's use follow-up issues for possible further enhancements. PS. Note that the improved consistency checker seems to have uncovered some problem in the way concurrent imports are handled. See JCR-3504 .
        Jukka Zitting made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 2.7 [ 12323977 ]
        Resolution Fixed [ 1 ]
        Jukka Zitting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unico Hommes
            Reporter:
            Unico Hommes
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development