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 2016/12/06 11:11:27 UTC

[jira] [Created] (OAK-5228) Incorrect minTimestamp in DocumentNodeStore.diffImpl()

Marcel Reutegger created OAK-5228:
-------------------------------------

             Summary: Incorrect minTimestamp in DocumentNodeStore.diffImpl()
                 Key: OAK-5228
                 URL: https://issues.apache.org/jira/browse/OAK-5228
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core, documentmk
    Affects Versions: 1.4.8, 1.5.6
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger
             Fix For: 1.6


The minTimestamp is calculated incorrectly to decide whether the journal can be used for the diff. The timestamp must be calculated from the root revisions of the node states to compare and not the revisions they were last modified. The last modified revision can potentially point very far into the past and result in a fall back to a more expensive diffManyChildren().



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