jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1458873 - /jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java
Date Wed, 20 Mar 2013 15:09:49 GMT
Author: mreutegg
Date: Wed Mar 20 15:09:49 2013
New Revision: 1458873

URL: http://svn.apache.org/r1458873
Log:
OAK-619 Lock-free MongoMK implementation
- need to disable revision validation check again (breaks TCK ApiIT test, and probably others
as well)

Modified:
    jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java

Modified: jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java?rev=1458873&r1=1458872&r2=1458873&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java
(original)
+++ jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/prototype/MongoMK.java
Wed Mar 20 15:09:49 2013
@@ -771,8 +771,7 @@ public class MongoMK implements MicroKer
         String value = null;
         for (String r : valueMap.keySet()) {
             Revision propRev = Revision.fromString(r);
-            if (isRevisionNewer(propRev, maxRev)
-                    || !isValidRevision(propRev, nodeMap)) {
+            if (isRevisionNewer(propRev, maxRev)) {
                 continue;
             }
             String v = valueMap.get(r);



Mime
View raw message