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/14 15:14:30 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=16398680#comment-16398680 ] 

Andrei Dulceanu edited comment on OAK-7337 at 3/14/18 2:37 PM:
---------------------------------------------------------------

I addressed all the points mentioned in the description of the issue in [this branch on GitHub|https://github.com/dulceanu/jackrabbit-oak/commits/issues/OAK-7337].

[~frm], [~mduerig], could you take a look at the changes?


was (Author: dulceanu):
I addressed all the points mentioned in the description of the issue in [this branch on GitHub title|https://github.com/dulceanu/jackrabbit-oak/commits/issues/OAK-7337].

[~frm], [~mduerig], could you take a look at the changes?

> 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)