[
https://issues.apache.org/jira/browse/JCR-3772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shashank Gupta updated JCR-3772:
--------------------------------
Summary: Local File cache is not reduced to zero size after specifying in
confuguration (was: Local File cache is not reduced to zero size upon
confuguration)
> Local File cache is not reduced to zero size after specifying in confuguration
> ------------------------------------------------------------------------------
>
> Key: JCR-3772
> URL: https://issues.apache.org/jira/browse/JCR-3772
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Reporter: Shashank Gupta
> Priority: Minor
>
> The local cache size is specified in repository.xml
> {noformat}
> <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>
> {noformat}
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)