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 "Julian Reschke (JIRA)" <ji...@apache.org> on 2015/11/26 13:15:10 UTC

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

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

Julian Reschke updated OAK-3678:
--------------------------------
    Fix Version/s: 1.0.25
                   1.2.9

> 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.2.9, 1.0.25, 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)