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

oak-upgrade long name filter should consider the path length

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0, 1.10.0, 1.8.3, 1.6.11
    • Component/s: upgrade
    • Labels:
      None

      Description

      The NameFilteringNodeState is used to prevent exceptions related to migrating nodes with too long names, which are supported on SegmentMK but not on the DocMK.

      Right now it uses a hard-coded limit of 150 bytes for a name. However, this limit should be only applied if the path length is longer than 350 bytes, so the oak-upgrade should check the path length as well, so it's not too strict.

      See Utils.java for more details.

        Attachments

          Activity

            People

            • Assignee:
              tomek.rekawek Tomek Rękawek
              Reporter:
              tomek.rekawek Tomek Rękawek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: