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 "Andrei Dulceanu (JIRA)" <ji...@apache.org> on 2018/03/20 09:23:00 UTC

[jira] [Resolved] (OAK-7337) CommitsTracker data is always empty when exposed via JMX

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

Andrei Dulceanu resolved OAK-7337.
----------------------------------
    Resolution: Fixed

Thanks for reviewing, [~mduerig]! 
Fixed at r1827284.

> CommitsTracker data is always empty when exposed via JMX
> --------------------------------------------------------
>
>                 Key: OAK-7337
>                 URL: https://issues.apache.org/jira/browse/OAK-7337
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>            Reporter: Andrei Dulceanu
>            Assignee: Andrei Dulceanu
>            Priority: Major
>              Labels: tooling
>             Fix For: 1.9.0, 1.10
>
>
> Due to duplicate registration of {{SegmentNodeStoreStats}} in both {{SegmentNodeStore}}  and {{LockBasedScheduler}}, we end up with two instances of this MBean. The former gets exposed via JMX and always returns empty tables for CommitsCountPerWriter and QueuedWriters, while the latter correctly tracks these data, but is not exposed. To address this, we should stick to only one instance of {{SegmentNodeStoreStats}}, used in both {{SegmentNodeStore}} and {{LockBasedScheduler}}.
> While at this, two additional points to be addressed:
> # {{CommitsTracker}} needs to be unit tested
> # commits count map size needs to be configurable via {{SegmentNodeStoreStats}}



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