Marcel Reutegger created OAK-413:
------------------------------------
Summary: 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