Amit Jain created OAK-8807:
------------------------------

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

Reply via email to