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/01/27 13:59:35 UTC

[jira] [Resolved] (OAK-2448) Do not create nodeChildren cache entry for leaf

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

Marcel Reutegger resolved OAK-2448.
-----------------------------------
    Resolution: Fixed

Done in trunk: http://svn.apache.org/r1655028

> Do not create nodeChildren cache entry for leaf
> -----------------------------------------------
>
>                 Key: OAK-2448
>                 URL: https://issues.apache.org/jira/browse/OAK-2448
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.1.6
>
>
> Currently the DocumentNodeStore populates nodeChildrenCache after a commit with entries for leaf nodes. Those cache entries all have a zero length list and are unnecessary, because the underlying document already has a flag, which indicates whether the node is a leaf. The cache entries created for leaf nodes are never used and only flood the cache.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)