[ 
https://issues.apache.org/jira/browse/OAK-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcel Reutegger resolved OAK-1361.
-----------------------------------

    Resolution: Fixed

DocumentNodeState now uses the same diff mechanism as KernelNodeState on 
DocumentMK when there are more than 10 child nodes to compare.

Fixed in http://svn.apache.org/r1562455

> DocumentNodeState#compareAgainstBaseState too slow
> --------------------------------------------------
>
>                 Key: OAK-1361
>                 URL: https://issues.apache.org/jira/browse/OAK-1361
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: mongomk
>            Reporter: Michael Dürig
>            Assignee: Marcel Reutegger
>              Labels: observation
>             Fix For: 0.16
>
>
> {{DocumentNodeState#compareAgainstBaseState}} usually falls back to the 
> default implementation in 
> {{AbstractNodeState#compareAgainstBaseState(NodeState, NodeStateDiff)}}, 
> which is slow. See also the TODO in the code. This negatively affects 
> performance when generation observation events. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to