Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7337

CommitsTracker data is always empty when exposed via JMX

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.9.0, 1.10.0
    • segment-tar

    Description

      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:

      1. CommitsTracker needs to be unit tested
      2. commits count map size needs to be configurable via SegmentNodeStoreStats

      Attachments

        Activity

          People

            adulceanu Andrei Dulceanu
            adulceanu Andrei Dulceanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: