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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2014/01/29 15:34:13 UTC

[jira] [Resolved] (OAK-1361) DocumentNodeState#compareAgainstBaseState too slow

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