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 2017/05/31 05:24:04 UTC
[jira] [Commented] (OAK-5935)
AbstractSharedCachingDataStore#getRecordIfStored should use the underlying
cache.get
[ https://issues.apache.org/jira/browse/OAK-5935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030653#comment-16030653 ]
Amit Jain commented on OAK-5935:
--------------------------------
In 1.6 branch with http://svn.apache.org/viewvc?rev=1796975&view=rev
> AbstractSharedCachingDataStore#getRecordIfStored should use the underlying cache.get
> ------------------------------------------------------------------------------------
>
> Key: OAK-5935
> URL: https://issues.apache.org/jira/browse/OAK-5935
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: blob
> Reporter: Amit Jain
> Assignee: Amit Jain
> Fix For: 1.8, 1.7.1, 1.6.2
>
>
> The {{AbstractSharedCachingDataStore#getRecordIfStored}} can possibly use cache.get(dataIdentifier.toString()) instead of cache.getIfPresent(dataIdentifier.toString()) to load the binary in the cache from the backend,
> The access pattern has to be evaluated but possibly we always do a getStream() after retrieving a record. The GC code already bypasses this with OAK-4573.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)