You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2016/02/03 15:17:39 UTC

[jira] [Created] (SLING-5480) Change in JMX names (OAK-3477) breaks discovery.oak's SynchronizedClocksHealthCheck

Stefan Egli created SLING-5480:
----------------------------------

             Summary: Change in JMX names (OAK-3477) breaks discovery.oak's SynchronizedClocksHealthCheck
                 Key: SLING-5480
                 URL: https://issues.apache.org/jira/browse/SLING-5480
             Project: Sling
          Issue Type: Bug
          Components: Extensions
    Affects Versions: Discovery Oak 1.2.4
            Reporter: Stefan Egli
            Assignee: Stefan Egli
             Fix For: Discovery Oak 1.2.6


OAK-3477 changed the naming convention of JMX Mbeans created by oak. Originally the DocumentNodeStore was created as follows:
{noformat}
domain/type/name/properties
org.apache.jackrabbit.oak	"DocumentNodeStore"	"Document node store management"	{id=6}
{noformat}
while OAK-3477 changed that to:
{noformat}
domain/type/name/properties
org.apache.jackrabbit.oak	DocumentNodeStore	Document node store management
{noformat}
(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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)