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] [Resolved] (OAK-2336) NodeDocument.getNodeAtRevision() may read too many revisions
Date Wed, 10 Dec 2014 14:42:12 GMT

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

Marcel Reutegger resolved OAK-2336.
-----------------------------------
    Resolution: Fixed

Fixed in trunk: http://svn.apache.org/r1644407

and 1.0 branch: http://svn.apache.org/r1644432

> NodeDocument.getNodeAtRevision() may read too many revisions
> ------------------------------------------------------------
>
>                 Key: OAK-2336
>                 URL: https://issues.apache.org/jira/browse/OAK-2336
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, mongomk
>    Affects Versions: 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.1.0, 1.0.7, 1.1.1, 1.0.8, 1.1.2, 1.1.3
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>             Fix For: 1.0.9, 1.1.4
>
>
> This is a regression introduced by OAK-1972.
> The revision returned with the value may be different from the revision of the change
when the change was first committed to a branch and later merged. In this case the value will
return the merge revision. The check in getNodeAtRevision() introduced with OAK-1972 then
assumes there may be more recent changes in a previous document and starts to scan the revision
history. This scan depends on the number of changes that have been applied on the document
since the most recent change on the property in question.



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

Mime
View raw message