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

Remove mix:referenceable from nt:frozenNode definition

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

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

      Description

      One of the changes between JCR 1.0 and JCR 2.0 is the definition of nt:frozenNode. In JCR 1.0 the node type extends from mix:referenceable, while in JCR 2.0 it does not anymore.

      Oak currently uses a nt:frozenNode definition that extends from mix:referenceable. This adds quite a bit of overhead because each node written under a JCR version gets a jcr:uuid, which is indexed by default.

      The proposal is to remove the supertype "mix:referenceable" from nt:frozenNode.

      Removing this supertype, the frozenNodes wouldn't have a "jcr:uuid" field, which at the end is not used, and allows to reduce the size of the index.

        Attachments

        1. OAK-9134-remove-referenceable-frozenNode-4.patch
          16 kB
          Stefan Egli
        2. OAK-9134.additional.test.patch
          4 kB
          Stefan Egli
        3. OAK-9134-remove-referenceable-frozenNode-3.patch
          12 kB
          José Andrés Cordero Benítez
        4. OAK-9134-remove-referenceable-frozenNode-2.patch
          9 kB
          José Andrés Cordero Benítez
        5. OAK-9134-remove-referenceable-from-test.patch
          1 kB
          José Andrés Cordero Benítez
        6. OAK-9134-remove-referenceable-frozenNode.patch
          3 kB
          José Andrés Cordero Benítez

        Issue Links

          Activity

            People

            • Assignee:
              corderob José Andrés Cordero Benítez
              Reporter:
              corderob José Andrés Cordero Benítez

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment