[ https://issues.apache.org/jira/browse/OAK-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592255#comment-13592255 ]
Marcel Reutegger edited comment on OAK-665 at 3/4/13 3:03 PM: -------------------------------------------------------------- Fixed in revision: 1452336 The cache in KernelNodeStore now also caches the result of a nodeExists() call when it returns false (node does not exist). was (Author: mreutegg): Fixed in revision: 1452336 The cache in KernelNodeStore now also caches the result of a nodeExists() call, which returned false (node does not exist). > 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