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 2013/12/16 11:52:07 UTC

[jira] [Resolved] (OAK-1289) Range check fails with IllegalArgumentException

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

Marcel Reutegger resolved OAK-1289.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.14

Fixed in http://svn.apache.org/r1551163

> Range check fails with IllegalArgumentException
> -----------------------------------------------
>
>                 Key: OAK-1289
>                 URL: https://issues.apache.org/jira/browse/OAK-1289
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, mongomk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>             Fix For: 0.14
>
>
> {{Range.includes()}} fails with IllegalArgumentException when provided revision is from another cluster node:
> {noformat}
> java.lang.IllegalArgumentException: Trying to compare revisions of different cluster ids: r142f43d2f0f-0-2 and r142f43d46fb-0-1
> 	at org.apache.jackrabbit.oak.plugins.mongomk.Revision.compareRevisionTime(Revision.java:84)
> 	at org.apache.jackrabbit.oak.plugins.mongomk.Range.includes(Range.java:55)
> {noformat}
> The IllegalArgumentException was introduced with OAK-1274.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)