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 2015/11/25 14:47:11 UTC

[jira] [Created] (OAK-3678) Use stable reverse revision comparator in UpdateUtils.applyChanges()

Marcel Reutegger created OAK-3678:
-------------------------------------

             Summary: Use stable reverse revision comparator in UpdateUtils.applyChanges()
                 Key: OAK-3678
                 URL: https://issues.apache.org/jira/browse/OAK-3678
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: documentmk, mongomk, rdbmk
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger
            Priority: Minor
             Fix For: 1.3.12


The method currently takes a comparator parameter, but the DocumentNodeStore requires that a revision map is always sorted reverse. To avoid incorrect usage of the method, the comparator parameter should be removed and the implementation always uses the stable reverse revision comparator for a new TreeMap.



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