jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Jain (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-5935) AbstractSharedCachingDataStore#getRecordIfStored should use the underlying cache.get
Date Wed, 15 Mar 2017 09:47:41 GMT
Amit Jain created OAK-5935:
------------------------------

             Summary: 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.7.0, 1.8


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)

Mime
View raw message