jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-2318) DocumentNodeStore.diffManyChildren() reads too many nodes
Date Wed, 03 Dec 2014 17:02:12 GMT
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)

Mime
View raw message