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 "Julian Reschke (JIRA)" <ji...@apache.org> on 2015/04/22 15:51:59 UTC
[jira] [Resolved] (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 ]
Julian Reschke resolved OAK-2726.
---------------------------------
Resolution: Fixed
> 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
> Affects Versions: 1.2.1
> Reporter: Marcel Reutegger
> Assignee: Julian Reschke
> Fix For: 1.4, 1.2.2
>
> Attachments: OAK-2726.diff
>
>
> 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)