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] [Created] (OAK-2726) Avoid repository traversal for trivial node type changes

Marcel Reutegger created OAK-2726:
-------------------------------------

             Summary: 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


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)