[jira] [Commented] (OAK-7216) Remove support for binaries and documents in persistent cache

2018-02-28 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger commented on OAK-7216:
---

Done in trunk: http://svn.apache.org/r1825587

> Remove support for binaries and documents in persistent cache
> -
>
> Key: OAK-7216
> URL: https://issues.apache.org/jira/browse/OAK-7216
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: documentmk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
>  Labels: technical_debt
> Fix For: 1.10
>
> Attachments: OAK-7216.patch
>
>
> The persistent cache currently stores binaries up to one MB by default. 
> However most of the BlobStore implementations already provide some form of 
> caching. E.g. for S3 a cache on the local filesystem is maintained and when 
> using a Jackrabbit FileDataStore the persistent cache is actually unnecessary.
> Support for documents in the persistent cache should also be removed. In 
> contrast to other cache entries, documents are mutable and may cause 
> consistency issues when enabled with the persistent cache. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OAK-7216) Remove support for binaries and documents in persistent cache

2018-01-30 Thread Marcel Reutegger (JIRA)

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

Marcel Reutegger commented on OAK-7216:
---

Proposed changes in [^OAK-7216.patch].

> Remove support for binaries and documents in persistent cache
> -
>
> Key: OAK-7216
> URL: https://issues.apache.org/jira/browse/OAK-7216
> Project: Jackrabbit Oak
>  Issue Type: Task
>  Components: documentmk
>Reporter: Marcel Reutegger
>Assignee: Marcel Reutegger
>Priority: Minor
> Fix For: 1.10
>
> Attachments: OAK-7216.patch
>
>
> The persistent cache currently stores binaries up to one MB by default. 
> However most of the BlobStore implementations already provide some form of 
> caching. E.g. for S3 a cache on the local filesystem is maintained and when 
> using a Jackrabbit FileDataStore the persistent cache is actually unnecessary.
> Support for documents in the persistent cache should also be removed. In 
> contrast to other cache entries, documents are mutable and may cause 
> consistency issues when enabled with the persistent cache. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)