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

Andrei Dulceanu commented on OAK-6915:
--------------------------------------

Interesting findings, [~frm]! You may want to take a look at how 
{{SegmentCache}} looks like on my branch [0], because it needed some code which 
currently lives in {{FileStore}} for handling {{SNFE}}s thrown while standby 
tries to load segments.

[0] 
https://github.com/dulceanu/jackrabbit-oak/tree/issues/1_6/20170502/r1793526_frm

> Minimize the amount of uncached segment reads
> ---------------------------------------------
>
>                 Key: OAK-6915
>                 URL: https://issues.apache.org/jira/browse/OAK-6915
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Francesco Mari
>            Assignee: Francesco Mari
>             Fix For: 1.8, 1.7.12
>
>         Attachments: OAK-6915-01.patch, OAK-6915-diagnostics.patch
>
>
> The current implementation of {{SegmentCache}} should make better use of the 
> underlying Guava cache by relying on the cached segments instead of 
> unconditionally performing an uncached segment read via the 
> {{Callable<Segment>}} passed to {{SegmentCache#getSegment}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to