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

Remove mix:referenceable from nt:frozenNode definition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.34.0, 1.22.7
    • core, jcr

    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.additional.test.patch
          4 kB
          Stefan Egli
        2. OAK-9134-remove-referenceable-from-test.patch
          1 kB
          José Andrés Cordero Benítez
        3. OAK-9134-remove-referenceable-frozenNode.patch
          3 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-frozenNode-3.patch
          12 kB
          José Andrés Cordero Benítez
        6. OAK-9134-remove-referenceable-frozenNode-4.patch
          16 kB
          Stefan Egli

        Issue Links

          Activity

            People

              corderob José Andrés Cordero Benítez
              corderob José Andrés Cordero Benítez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: