jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1592665 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollector.java
Date Tue, 06 May 2014 06:45:34 GMT
Author: mreutegg
Date: Tue May  6 06:45:33 2014
New Revision: 1592665

URL: http://svn.apache.org/r1592665
Log:
OAK-1793: MongoMK GC removes documents with data still in use

Do not call collectSplitDocuments() with empty set of types to avoid useless and expensive
query.

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollector.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollector.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollector.java?rev=1592665&r1=1592664&r2=1592665&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollector.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollector.java
Tue May  6 06:45:33 2014
@@ -81,7 +81,8 @@ public class VersionGarbageCollector {
         }
 
         collectDeletedDocuments(stats, headRevision, oldestRevTimeStamp);
-        collectSplitDocuments(stats, oldestRevTimeStamp);
+        // FIXME: OAK-1793 and OAK-1794
+        // collectSplitDocuments(stats, oldestRevTimeStamp);
 
         sw.stop();
         log.info("Version garbage collected in {}. {}", sw, stats);



Mime
View raw message