jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1531893 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/Revision.java
Date Mon, 14 Oct 2013 13:40:29 GMT
Author: thomasm
Date: Mon Oct 14 13:40:29 2013
New Revision: 1531893

URL: http://svn.apache.org/r1531893
Log:
OAK-762 MongoMK: automatic unique cluster id / revision order depends on the cluster id (improved
error message)

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/Revision.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/Revision.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/Revision.java?rev=1531893&r1=1531892&r2=1531893&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/Revision.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/Revision.java
Mon Oct 14 13:40:29 2013
@@ -380,7 +380,7 @@ public class Revision {
                         return;
                     }
                     if (last.revision.compareRevisionTime(r) > 0) {
-                        throw new IllegalArgumentException("Can not add an earlier revision");
+                        throw new IllegalArgumentException("Can not add an earlier revision:
" + last.revision + " > " + r);
                     }
                     newList = new ArrayList<RevisionRange>(list);
                 }



Mime
View raw message