[ 
https://issues.apache.org/jira/browse/OAK-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700801#comment-14700801
 ] 

Thomas Mueller commented on OAK-3005:
-------------------------------------

I think there is a flaw in my previous comment: I have assumed that "no change" 
would now result in "caching enabled". That would not be a good idea if the 
data store is on a local file system, because it would unnecessarily add a 
cache. So instead:

h2. How to configure CachingFDS
* PID org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore (same as 
before, but now it means caching file data store)

h3. Fresh Installation:
* {{path}}: path of NAS or SAN storage (required)
* {{cacheSize}}: default is 0, set to a reasonable value
* {{cachePath}}: (optional) path of local file system cache. Default is 
$\{home.dir\}/repository/datastoreCache. 

h3. Migration from FileDataStore on SAN to CachingFDS on SAN
* {{cacheSize}}: set to a reasonable value

h3. Migration from FileDataStore on local file system to CachingFDS on SAN
* copy all files from local file system to SAN
* {{path}}: change to SAN path
* {{cacheSize}}: set to a reasonable value

h3. Keep FileDataStore on local file system
* no change (cacheSize is 0 by default, so caching is disabled)


> OSGI wrapper service for Jackrabbit CachingFDS
> ----------------------------------------------
>
>                 Key: OAK-3005
>                 URL: https://issues.apache.org/jira/browse/OAK-3005
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: blob
>    Affects Versions: 1.0.15
>            Reporter: Shashank Gupta
>            Assignee: Shashank Gupta
>              Labels: candidate_oak_1_0, candidate_oak_1_2, docs-impacting, 
> features, performance
>             Fix For: 1.3.1
>
>         Attachments: OAK-2729.patch, 
> org.apache.jackrabbit.oak.plugins.blob.datastore.CachingFDS.sample.config
>
>
> OSGI service wrapper for JCR-3869 which provides CachingDataStore 
> capabilities for SAN & NAS storage



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to