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/12/03 18:02:12 UTC

[jira] [Created] (OAK-2318) DocumentNodeStore.diffManyChildren() reads too many nodes

Marcel Reutegger created OAK-2318:
-------------------------------------

             Summary: DocumentNodeStore.diffManyChildren() reads too many nodes
                 Key: OAK-2318
                 URL: https://issues.apache.org/jira/browse/OAK-2318
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core, mongomk
    Affects Versions: 1.1.2, 1.0.8
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger
            Priority: Minor


DocumentNodeStore.diffManyChildren() compares too many nodes when running in a non-clustered setup and there are many changes below a location with 'many' children.

This is a regression introduced by OAK-2232. The fix changed the way how the minimum revision is calculated based on the two revisions to compare. The seen-at revision of the RevisionComparator is taken into account. However, in a single cluster node setup, the revision range for the current clusterId is never updated. This means the minimum revision is calculated too far back and causes queries with too many nodes than necessary.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)