jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francesco Mari (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-7934) Expose the number of segments as metric
Date Mon, 03 Dec 2018 14:05:00 GMT

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

Francesco Mari commented on OAK-7934:
-------------------------------------

[~mduerig], actually I think you could compute both the segment count and the number of TAR
files outside of the {{while (true)}} loop. Since increments and decrements are idempotent
and the pointers to {{head}} and {{swept}} point to immutable structures, the counters should
be eventually consistent with the underlying data, right?

> Expose the number of segments as metric
> ---------------------------------------
>
>                 Key: OAK-7934
>                 URL: https://issues.apache.org/jira/browse/OAK-7934
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: segment-tar
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>            Priority: Major
>             Fix For: 1.10
>
>
> I want to expose the number of segment as a meter.



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

Mime
View raw message