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 10:03:00 UTC

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

Andrei Dulceanu created OAK-7337:
------------------------------------

             Summary: 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
             Fix For: 1.9.0, 1.10


Due to duplicate registration of {{SegmentNodeStoreStats}} in both {{SegmentNodeStore}} [0]  and {{LockBasedScheduler}} [1], 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)