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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Discovery Oak 1.2.4
    • Discovery Oak 1.2.6
    • Extensions
    • 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 chetanm). 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

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

              Dates

                Created:
                Updated:
                Resolved: