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 2013/03/05 11:39:12 UTC
[jira] [Commented] (OAK-665) Excessive MK.nodeExists() calls with
many child nodes
[ https://issues.apache.org/jira/browse/OAK-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593292#comment-13593292 ]
Michael Dürig commented on OAK-665:
-----------------------------------
Nice! I think this was much needed.
Just for the records, a bloom filter is a very good candidate for negative caches. Just in case we need to further optimise this.
> Excessive MK.nodeExists() calls with many child nodes
> -----------------------------------------------------
>
> Key: OAK-665
> URL: https://issues.apache.org/jira/browse/OAK-665
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 0.6
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Fix For: 0.7
>
>
> The number of calls to MK.nodeExists() go up excessively once a node reaches KernelNodeState.MAX_CHILD_NODE_NAMES.
> There are a *lot* of repeated calls to MK.nodeExists() for the same path. E.g. using the test from OAK-643, the nodeExists() call start to spike once MAX_CHILD_NODE_NAMES is reached. Adding another 100 child nodes then resulted in 400 successive calls to "/testRoot/test4/oak:index" and many more calls to other paths.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira