jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1528099 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/Range.java
Date Tue, 01 Oct 2013 14:14:29 GMT
Author: thomasm
Date: Tue Oct  1 14:14:28 2013
New Revision: 1528099

URL: http://svn.apache.org/r1528099
Log:
OAK-926: MongoMK: split documents when they are too large
- Generalize access to previous documents (WIP) - allow a range of 1 revision

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/Range.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/Range.java?rev=1528099&r1=1528098&r2=1528099&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/Range.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/mongomk/Range.java
Tue Oct  1 14:14:28 2013
@@ -40,8 +40,8 @@ final class Range {
         this.low = checkNotNull(low);
         checkArgument(high.getClusterId() == low.getClusterId(),
                 "Revisions from have the same clusterId");
-        checkArgument(high.compareRevisionTime(low) > 0,
-                "High Revision must be later than low Revision");
+        checkArgument(high.compareRevisionTime(low) >= 0,
+                "High Revision must be later than low Revision, high=" + high + " low=" +
low);
     }
 
     /**



Mime
View raw message