Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3772

Local File cache is not reduced to zero size after specifying in confuguration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.5
    • 2.8
    • 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.

      Attachments

        1. JCR-3772.patch
          0.6 kB
          Shashank Gupta

        Activity

          People

            chetanm Chetan Mehrotra
            shgupta Shashank Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: