[jira] [Commented] (OAK-7988) The node counter jmx bean should show 0 if a node exists

2019-01-16 Thread Thomas Mueller (JIRA)


[ 
https://issues.apache.org/jira/browse/OAK-7988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16744155#comment-16744155
 ] 

Thomas Mueller commented on OAK-7988:
-

Example for getEstimatedChildNodeCounts(String path, int level):
* path = "/temp" level = -1: now shows no result (the node doesn't exist) 
* path = "/tmp", int level = -1: now shows "/tmp: 0" (the node exist but has no 
/ few children) 


> The node counter jmx bean should show 0 if a node exists
> 
>
> Key: OAK-7988
> URL: https://issues.apache.org/jira/browse/OAK-7988
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: indexing
>Reporter: Thomas Mueller
>Priority: Minor
>
> Right now, the node counter jmx bean doesn't show a result if a node has few 
> children. It also shows doesn't show a result if the node doesn't exists (due 
> to a typo). It would be nice if existing nodes show "0" in this case, for 
> "exists, but has no or few children", as documented.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OAK-7988) The node counter jmx bean should show 0 if a node exists

2019-01-16 Thread Thomas Mueller (JIRA)


[ 
https://issues.apache.org/jira/browse/OAK-7988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16744154#comment-16744154
 ] 

Thomas Mueller commented on OAK-7988:
-

http://svn.apache.org/r1851453

> The node counter jmx bean should show 0 if a node exists
> 
>
> Key: OAK-7988
> URL: https://issues.apache.org/jira/browse/OAK-7988
> Project: Jackrabbit Oak
>  Issue Type: Improvement
>  Components: indexing
>Reporter: Thomas Mueller
>Priority: Minor
>
> Right now, the node counter jmx bean doesn't show a result if a node has few 
> children. It also shows doesn't show a result if the node doesn't exists (due 
> to a typo). It would be nice if existing nodes show "0" in this case, for 
> "exists, but has no or few children", as documented.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)