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/10 13:36:12 UTC
[jira] [Created] (OAK-2336) NodeDocument.getNodeAtRevision() may
read too many revisions
Marcel Reutegger created OAK-2336:
-------------------------------------
Summary: 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.1.2, 1.0.8, 1.1.1, 1.0.7, 1.1.0, 1.0.6, 1.0.5, 1.0.4, 1.0.3, 1.1.3
Reporter: Marcel Reutegger
Assignee: Marcel Reutegger
Fix For: 1.0.9
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)