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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2018/03/09 16:51:00 UTC

[jira] [Resolved] (OAK-7326) Add a way to disable the SegmentCache

     [ https://issues.apache.org/jira/browse/OAK-7326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig resolved OAK-7326.
--------------------------------
    Resolution: Fixed

Done at [http://svn.apache.org/viewvc?rev=1826359&view=rev.]

The segment cache is now backed by a special implementation when a size <= 0 is requested. This required a subtle change in {{SegmentId.getGcGeneration()}} to not rely on side effects via the cache. 

[~frm], [~dulceanu], could you have a look?

> Add a way to disable the SegmentCache 
> --------------------------------------
>
>                 Key: OAK-7326
>                 URL: https://issues.apache.org/jira/browse/OAK-7326
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>            Priority: Major
>             Fix For: 1.9.0, 1.10
>
>
> We should implement a way to disable the segment cache. This enables us to establish performance baselines and better understand locality of reference without the distortion of the cache (e.g. see OAK-5655).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)