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/11/24 09:25:58 UTC

[jira] [Created] (OAK-5156) Limit JournalDiffLoader to subtree

Marcel Reutegger created OAK-5156:
-------------------------------------

             Summary: Limit JournalDiffLoader to subtree 
                 Key: OAK-5156
                 URL: https://issues.apache.org/jira/browse/OAK-5156
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core, documentmk
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger
            Priority: Minor
             Fix For: 1.6


The JournalDiffLoader currently loads the entire changes between two revisions. In many cases this is useful because the initial call happens on the root node and subsequent diff calls further down the hierarchy can pick up pro-actively pushed diffs by the loader. However, if the loader is called with a path that is not the root, it doesn't make sense to sort and push diffs of unrelated parts of the hierarchy. In this case the loader should only process changes under that subtree.



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