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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2017/05/30 08:38:06 UTC

[jira] [Closed] (OAK-5954) Unify and simplify the deduplication caches

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

Davide Giannella closed OAK-5954.
---------------------------------

Bulk close for 1.7.0

> Unify and simplify the deduplication caches 
> --------------------------------------------
>
>                 Key: OAK-5954
>                 URL: https://issues.apache.org/jira/browse/OAK-5954
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>              Labels: monitoring, refactoring, technical_debt
>             Fix For: 1.7.0, 1.8
>
>
> As a preparation to enable better monitoring and add more precise monitoring probes to the deduplication caches I would like to unify their interfaces and simplify their setup. 
> * Don't expose the cache statistics via the {{FileStore}} and leverage the the {{FileStoreBuilder}} instead for this.
> * All deduplication caches should implement a unified {{Cache}} interface to simplify wrapping them (e.g. for additional access statistics collection). 
> * Replace the ad-hoc collection of cache statistics in the {{NodeWriteStats}} inner class of the {{SegmentWriter}} and replace it with a more structured approach. 
> * Expose additional cache access statistics via Metrics. 
> * The additional statistics should discriminate caches access occurring as regular writes from such occurring during compaction. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)