jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cko...@apache.org
Subject svn commit: r1436799 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/MultiDataStore.java
Date Tue, 22 Jan 2013 08:48:21 GMT
Author: ckoell
Date: Tue Jan 22 08:48:21 2013
New Revision: 1436799

URL: http://svn.apache.org/viewvc?rev=1436799&view=rev
Log:
JCR-3389 Implement a MultiDataStore ... debug logging

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=1436799&r1=1436798&r2=1436799&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
Tue Jan 22 08:48:21 2013
@@ -580,6 +580,9 @@ public class MultiDataStore implements D
                                 ((MultiDataStoreAware) primaryDataStore).deleteRecord(identifier);
                                 moved++;
                             }
+                            if (moved % 100 == 0) {
+                                log.debug("Moving DataRecord's... ({})", moved);
+                            }
                         } catch (DataStoreException e) {
                             log.error("Failed to move DataRecord. DataIdentifier: " + identifier,
e);
                         } finally {



Mime
View raw message