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 2013/01/24 07:51:12 UTC

[jira] [Resolved] (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:all-tabpanel ]

Jukka Zitting resolved OAK-506.
-------------------------------

    Resolution: Fixed

Resolving as fixed based on the above workaround. A better solution will need either better caching at the MK level, or a redesign of KernelNodeStore.
                
> 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