Marcel Reutegger created OAK-2448:
-------------------------------------

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

Reply via email to