[ 
https://issues.apache.org/jira/browse/OAK-6803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chetan Mehrotra updated OAK-6803:
---------------------------------
    Attachment: OAK-6803-v1.patch

[patch|^OAK-6803-v1.patch] for the same.

It introduces a new OSGi config {{persistentCacheIncludes}} which can be used 
to configure an array of paths which are (including there children) allowed to 
be included in persistentCache. It defaults to "['/']"

[~tomek.rekawek] [~mreutegg] Please review

> Provide a way to for persistent cache to determine which all nodes are cached
> -----------------------------------------------------------------------------
>
>                 Key: OAK-6803
>                 URL: https://issues.apache.org/jira/browse/OAK-6803
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: documentmk
>            Reporter: Chetan Mehrotra
>             Fix For: 1.8
>
>         Attachments: OAK-6803-v1.patch
>
>
> Currently persistent cache if enabled for nodes caches all nodes accessed on 
> the system. It would be better if it can be configured to only cache those 
> nodes which are not volatile so that caching can be effective
> Purpose of this issue is to
> * Provide an extension point in PersistentCache logic to check if a node is 
> to be cached
> * Provide an impl which relies on some static OSGi config to determine that
> Later we can make this impl dynamic i.e. rely on access pattern to cache imp 
> stuff



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to