jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1368268 - /jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/DefaultRevisionStore.java
Date Wed, 01 Aug 2012 21:39:06 GMT
Author: jukka
Date: Wed Aug  1 21:39:05 2012
New Revision: 1368268

URL: http://svn.apache.org/viewvc?rev=1368268&view=rev
Log:
OAK-216: Occasional org.apache.jackrabbit.mk.store.NotFoundExceptions

Increase initial startup delay of the garbage collector to 60 minutes, as before that it in
any case shouldn't remove any revisions.
This should for now work around the occasional problems seen in Oak builds.

Modified:
    jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/DefaultRevisionStore.java

Modified: jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/DefaultRevisionStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/DefaultRevisionStore.java?rev=1368268&r1=1368267&r2=1368268&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/DefaultRevisionStore.java
(original)
+++ jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/store/DefaultRevisionStore.java
Wed Aug  1 21:39:05 2012
@@ -37,7 +37,6 @@ import java.util.Collections;
 import java.util.Iterator;
 import java.util.Map;
 import java.util.Map.Entry;
-import java.util.Set;
 import java.util.TreeMap;
 import java.util.WeakHashMap;
 import java.util.concurrent.Executors;
@@ -160,7 +159,7 @@ public class DefaultRevisionStore extend
                         gc();
                     }
                 }
-            }, 60, 60, TimeUnit.SECONDS);
+            }, 60, 1, TimeUnit.MINUTES); // FIXME, see OAK-216
         }
 
         initialized = true;



Mime
View raw message