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 "Amit Jain (JIRA)" <ji...@apache.org> on 2015/12/11 07:39:11 UTC

[jira] [Closed] (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 ]

Amit Jain closed OAK-3678.
--------------------------

Bulk close for 1.0.25

> 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)