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 "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2017/08/27 13:55:00 UTC

[jira] [Resolved] (OAK-6592) Remove path and rootBuilder from the CompositeNodeBuilder

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

Tomek Rękawek resolved OAK-6592.
--------------------------------
    Resolution: Fixed

> Remove path and rootBuilder from the CompositeNodeBuilder
> ---------------------------------------------------------
>
>                 Key: OAK-6592
>                 URL: https://issues.apache.org/jira/browse/OAK-6592
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: composite
>            Reporter: Tomek Rękawek
>            Assignee: Tomek Rękawek
>             Fix For: 1.8, 1.7.7
>
>
> The fields path and rootBuilder should be removed from the CompositeNodeBuilder to reduce memory overhead.
> We can assume that the wrapped node builder implements MemoryNodeBuilder, which provides the getPath() method that can be used.
> WRT to the rootBuilder, it have two purposes:
> * make it possible to implement the moveTo() between stores,
> * create missing ancestors for non-default stores.
> Since we only support the read-only mode for non-default stores, these features are not required.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)