[ https://issues.apache.org/jira/browse/OAK-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger resolved OAK-665. ---------------------------------- Resolution: Fixed Fix Version/s: 0.7 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