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:47:00 UTC

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

Tomek Rękawek created OAK-6592:
----------------------------------

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