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)

Reply via email to