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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/03/11 16:50:39 UTC

[jira] [Updated] (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 ]

Chetan Mehrotra updated OAK-2448:
---------------------------------
    Fix Version/s: 1.0.13

> 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, 1.0.13
>
>
> 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)