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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2012/12/13 15:36:12 UTC

[jira] [Commented] (OAK-506) Avoid extra MK.nodeExists() calls when already cached

    [ https://issues.apache.org/jira/browse/OAK-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13531042#comment-13531042 ] 

Jukka Zitting commented on OAK-506:
-----------------------------------

In revision 1421308 I increased the number of child node names initially loaded with the parent node from 1,000 to 10,000. That should reduce the likelyhood of this issue.
                
> Avoid extra MK.nodeExists() calls when already cached
> -----------------------------------------------------
>
>                 Key: OAK-506
>                 URL: https://issues.apache.org/jira/browse/OAK-506
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.6
>
>
> The KernelNodeState class uses MK.nodeExists() to check for the presence of child nodes when dealing with nodes with more than 1000 children. Currently that check is used regardless of whether the node is already cached, which could be avoided.

--
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