[ 
https://issues.apache.org/jira/browse/OAK-9134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17152671#comment-17152671
 ] 

José Andrés Cordero Benítez commented on OAK-9134:
--------------------------------------------------

There is a bit of discussion needed. I have added a check for a system property 
called "OAK_BUILTIN_NODETYPES_NAME" (name can be changed). This property allows 
to modify the use of "builtin_nodetypes.cnd" to initialize the nodetypes of the 
repository. The idea is to allow to use a different file with the frozenNode 
not inherit the mix:referenceable type.

In the initialization of a frozenNode then there is a check of the definition, 
in case mix:referenceable is a supertype of nt:frozenNode, the jcr:uuid 
property will be added to the new node. If not, it won't be added. This allows 
to provide compatibility with already initialized repositories.

> Remove mix:referenceable from nt:frozenNode definition
> ------------------------------------------------------
>
>                 Key: OAK-9134
>                 URL: https://issues.apache.org/jira/browse/OAK-9134
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, jcr
>            Reporter: José Andrés Cordero Benítez
>            Priority: Minor
>              Labels: patch
>         Attachments: OAK-9134-remove-referenceable-frozenNode.patch
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to