[
https://issues.apache.org/jira/browse/OAK-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488617#comment-13488617
]
Jukka Zitting commented on OAK-413:
-----------------------------------
I think I spotted the problem, at least a part of it. The child() method in
MemoryNodeBuilder doesn't take into account the case where a node is modified
(the root node is always consider as such) but a child node isn't. I'll fix it.
> TreeLocation.getStatus() cost increases as more content is read below this
> location
> -----------------------------------------------------------------------------------
>
> Key: OAK-413
> URL: https://issues.apache.org/jira/browse/OAK-413
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 0.5
> Reporter: Marcel Reutegger
> Attachments: OAK-413.patch
>
>
> The more content is read below a given location the more expensive the
> getStatus() becomes on that TreeLocation. There seem to be two issues:
> - Reading creates snapshots in MemoryNodeBuilder depending on how the tree is
> accessed.
> - Cost for comparing states also increases as snapshots are created for
> NodeStates.
> I'll attach a test that shows the described behaviour.
--
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