[ 
https://issues.apache.org/jira/browse/SLING-5480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Egli closed SLING-5480.
------------------------------

> 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)

Reply via email to