jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (OAK-5954) Unify and simplify the deduplication caches
Date Tue, 21 Mar 2017 20:44:41 GMT

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

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

Collecting separate statistics for regular write operation and compaction cause write operations
at http://svn.apache.org/viewvc?rev=1788026&view=rev

> 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

View raw message