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

Respect nt:frozenNode definition on upgrade and migration

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.38.0, 1.22.7
    • Component/s: core, upgrade
    • Labels:
      None

      Description

      With OAK-9134 the nt:frozenNode definition was changed and new repositories created with Oak 1.34 or newer create frozen nodes that are not referenceable anymore.

      The migration component in oak-core (org.apache.jackrabbit.oak.plugins.migration) always copies versions from the source to the target as is. That is, a migration from an old repository to a new one may result in frozen nodes that are not referenceable but still have a jcr:uuid property. The migration should respect the nt:frozenNode definition on the target and omit the jcr:uuid property when the frozen node is not referenceable.

      Similarly, the oak-upgrade component has a side-grade feature that needs adjustment.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mreutegg Marcel Reutegger
                Reporter:
                mreutegg Marcel Reutegger
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: