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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2016/08/03 09:11:20 UTC

[jira] [Created] (OAK-4635) Improve cache eviction policy of the node deduplication cache

Michael Dürig created OAK-4635:
----------------------------------

             Summary: Improve cache eviction policy of the node deduplication cache
                 Key: OAK-4635
                 URL: https://issues.apache.org/jira/browse/OAK-4635
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: segment-tar
            Reporter: Michael Dürig
            Assignee: Michael Dürig
             Fix For: Segment Tar 1.0.0


{{NodeCache}} uses one stripe per depth (of the nodes in the tree). Once its overall capacity (default 1000000 nodes) is exceeded, it clears all nodes from the stripe with the greatest depth. This can be problematic when the stripe with the greatest depth contains most of the nodes as clearing it would result in an almost empty cache. 





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