jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chet...@apache.org
Subject svn commit: r1588850 - /jackrabbit/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/CachingDataStore.java
Date Mon, 21 Apr 2014 05:18:38 GMT
Author: chetanm
Date: Mon Apr 21 05:18:37 2014
New Revision: 1588850

URL: http://svn.apache.org/r1588850
Log:
JCR-3771 - Pending async uploads fails to get uploaded on restart. 

Fixing the directory path to be used for resuming failed uploads upon restart. Applying patch
from Shashank.

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

Modified: jackrabbit/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/CachingDataStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/CachingDataStore.java?rev=1588850&r1=1588849&r2=1588850&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/CachingDataStore.java
(original)
+++ jackrabbit/trunk/jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/CachingDataStore.java
Mon Apr 21 05:18:37 2014
@@ -275,7 +275,7 @@ public abstract class CachingDataStore e
                             f.getAbsolutePath());
                     } else {
                         totalSize += f.length();
-                        files.add(new File(homeDir, fileName));
+                        files.add(new File(path, fileName));
                     }
                 }
                 new FilesUploader(files, totalSize, concurrentUploadsThreads,



Mime
View raw message