Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.7.5
-
None
-
None
Description
The local cache size is specified in repository.xml
<DataStore class="org.apache.jackrabbit.aws.ext.ds.S3DataStore"> <param name="config" value="${rep.home}/aws.properties"/> <param name="secret" value="123456789"/> <param name="minRecordLength " value="16384"/> <param name="cacheSize" value="68719476736"/> <param name="cachePurgeTrigFactor" value="0.95d"/> <param name="cachePurgeResizeFactor" value="0.85d"/> <param name="continueOnAsyncUploadFailure" value="false"/> <param name="concurrentUploadsThreads" value="10"/> <param name="asyncUploadLimit" value="100"/> <param name="uploadRetries" value="3"/> </DataStore>
To disable local cache, cacheSize is set to 0. Upon setting it to 0 and restart, the expectation is that all files in cache would be deleted and local cache won't be used in any operation.
The issue is that local cache is not resetting to 0 size.
WorkAround: set it to 1.