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

ChangeSet's maxPathDepth must be taken into account by ChangeSetFilterImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.5.14
    • 1.5.15, 1.6.0
    • core
    • None

    Description

      The ChangeSet stops collecting paths that are deeper than maxPathDepth. This is to avoid collecting too much detail (and overflow the ChangeSet) given normally filters' includePaths are only a few levels deep.

      This information is currently however not yet used by the ChangeSetFilterImpl. This is wrong and must be fixed. At the moment it's not a realistic problem though as the maxPathDepth is 9 and typically filters have include paths of perhaps 2-4. But with ChangeSet merging (OAK-5126) that figure of 9 might come down, so accounting for maxPathDepth in the filter must be done at some point.

      Attachments

        Issue Links

          Activity

            People

              stefanegli Stefan Egli
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: