Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5480

Change in JMX names (OAK-3477) breaks discovery.oak's SynchronizedClocksHealthCheck

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Discovery Oak 1.2.4
    • Fix Version/s: Discovery Oak 1.2.6
    • Component/s: Extensions
    • Labels:
      None

      Description

      OAK-3477 changed the naming convention of JMX Mbeans created by oak. Originally the DocumentNodeStore was created as follows:

      domain/type/name/properties
      org.apache.jackrabbit.oak	"DocumentNodeStore"	"Document node store management"	{id=6}
      

      while OAK-3477 changed that to:

      domain/type/name/properties
      org.apache.jackrabbit.oak	DocumentNodeStore	Document node store management
      

      (meaning, the type is not quoted anymore, plus the id is gone)

      This breaks the query used in SynchronizedClocksHealthCheck to get the DocumentNodeStoreMBean (fyi Chetan Mehrotra). Currently this results in the health check to report that: "Intra-cluster test n/a (No DocumentNodeStore MBean found) " - ie it goes rather unnoticed and effectively the health-check is disabled. So we need to adjust the query in SynchronizedClocksHealthCheck.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stefanegli Stefan Egli
                Reporter:
                stefanegli Stefan Egli
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: