jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cko...@apache.org
Subject svn commit: r1444666 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/MultiDataStore.java
Date Mon, 11 Feb 2013 06:54:28 GMT
Author: ckoell
Date: Mon Feb 11 06:54:28 2013
New Revision: 1444666

URL: http://svn.apache.org/r1444666
Log:
JCR-3512 DelayedDelete in MultiDatastore does not work correctly

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/MultiDataStore.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/MultiDataStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/MultiDataStore.java?rev=1444666&r1=1444665&r2=1444666&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/MultiDataStore.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/MultiDataStore.java
Mon Feb 11 06:54:28 2013
@@ -475,6 +475,7 @@ public class MultiDataStore implements D
                     ((LocalFileSystem) identifiersToDeleteFile.getFileSystem()).getPath(),
                     identifiersToDeleteFile.getPath());
             writer = new BufferedWriter(new FileWriter(identifierFile, true));
+            writer.write(identifier.toString());
             return true;
         } catch (Exception e) {
             log.warn("I/O error while saving DataIdentifier (stacktrace on DEBUG log level)
to '"
@@ -558,6 +559,7 @@ public class MultiDataStore implements D
             try {
                 long now = System.currentTimeMillis();
                 long maxAgeMilli = 1000L * 60 * 60 * 24 * maxAge;
+                log.debug("Collecting all Identifiers from PrimaryDataStore...");
                 Iterator<DataIdentifier> allIdentifiers = primaryDataStore.getAllIdentifiers();
                 int moved = 0;
                 while (allIdentifiers.hasNext()) {



Mime
View raw message