You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Amit Jain (Jira)" <ji...@apache.org> on 2020/01/27 09:40:00 UTC

[jira] [Comment Edited] (OAK-8807) Update FileCache to use non-cache segment blocking method

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

Amit Jain edited comment on OAK-8807 at 1/27/20 9:39 AM:
---------------------------------------------------------

*  trunk - [1870525|http://svn.apache.org/viewvc?rev=1870525&view=rev]
* 1.8 - [1873199|http://svn.apache.org/viewvc?rev=1870525&view=rev]
* 1.10 - [1873198|http://svn.apache.org/viewvc?rev=1870525&view=rev]


was (Author: amitj):
On trunk with [1870525|http://svn.apache.org/viewvc?rev=1870525&view=rev]

> Update FileCache to use non-cache segment blocking method
> ---------------------------------------------------------
>
>                 Key: OAK-8807
>                 URL: https://issues.apache.org/jira/browse/OAK-8807
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: blob-plugins
>            Reporter: Amit Jain
>            Assignee: Amit Jain
>            Priority: Major
>              Labels: candidate_oak_1_10, candidate_oak_1_8
>             Fix For: 1.22.0
>
>
> Currently FileCache builds CacheLIRS by using CacheLoader and uses the method {{get(K key}} to retrieve an entry. This can cause the cache segments to be blocked until the entry is loaded into the cache. An alternative is to use the method {{get(K key, Callable<? extends V> valueLoader)}} which would only block the thread loading the same key.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)