You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2015/04/07 15:58:12 UTC

[jira] [Updated] (OAK-2726) Avoid repository traversal for trivial node type changes

     [ https://issues.apache.org/jira/browse/OAK-2726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated OAK-2726:
----------------------------------
    Fix Version/s: 1.4

> Avoid repository traversal for trivial node type changes
> --------------------------------------------------------
>
>                 Key: OAK-2726
>                 URL: https://issues.apache.org/jira/browse/OAK-2726
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Marcel Reutegger
>             Fix For: 1.4
>
>
> The {{TypeEditor}} in oak-core checks the repository content when a node type changes to make sure the content still conforms to the updated node type. For a repository with a lot of nodes, this check can take quite a bit of time.
> Jackrabbit has an optimization in place for trivial node type changes. E.g. it will not check the content if a non-mandatory item is added to an existing node type definition. This optimization could be implemented in Oak as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)