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] [Updated] (OAK-2318) DocumentNodeStore.diffManyChildren() reads too many nodes
Date Thu, 04 Dec 2014 09:00:24 GMT

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

Marcel Reutegger updated OAK-2318:
    Attachment: OAK-2318.patch

Patch with test and fix because SVN is currently down.

> 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.0.8, 1.1.2
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>         Attachments: OAK-2318.patch
> 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

View raw message