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 06:38:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Amit Jain updated OAK-8807:
---------------------------
    Labels: candidate_oak_1_10 candidate_oak_1_8  (was: )

> 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)