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:13:06 UTC

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

Marcel Reutegger created OAK-1289:
-------------------------------------

             Summary: 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


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