[ https://issues.apache.org/jira/browse/JCR-3772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra updated JCR-3772: --------------------------------- Resolution: Fixed Assignee: Chetan Mehrotra Status: Resolved (was: Patch Available) Applied the patch in http://svn.apache.org/r1589926 > 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 > Affects Versions: 2.7.5 > Reporter: Shashank Gupta > Assignee: Chetan Mehrotra > Priority: Minor > Fix For: 2.8 > > Attachments: JCR-3772.patch > > > 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)