This is an automated email from the ASF dual-hosted git repository.
reschke pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/trunk by this push:
new 0166b48da7 OAK-11731: expose NodeCounter (getEstimatedChildNodeCounts)
in JackrabbitNode - avoid 2 mbeans with the same name (#2648)
0166b48da7 is described below
commit 0166b48da7752b11a4a6e549b26495454d45becf
Author: Julian Reschke <[email protected]>
AuthorDate: Thu Dec 4 22:51:21 2025 +0100
OAK-11731: expose NodeCounter (getEstimatedChildNodeCounts) in
JackrabbitNode - avoid 2 mbeans with the same name (#2648)
---
oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java
b/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java
index 5e8c6f5aa7..3dda158b48 100644
--- a/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java
+++ b/oak-core/src/main/java/org/apache/jackrabbit/oak/Oak.java
@@ -777,9 +777,9 @@ public class Oak {
// register both backwards-compatibly
regs.add(registerMBean(whiteboard, NodeCounterMBean.class,
nc, NodeCounterMBean.TYPE, "nodeCounter"));
- // and using org.apache.jackrabbit.oak.api.jmx.NodeCounterMBean
+ // and using org.apache.jackrabbit.oak.api.jmx.NodeCounterMBean,
with a different name
regs.add(registerMBean(whiteboard,
org.apache.jackrabbit.oak.api.jmx.NodeCounterMBean.class,
- nc, NodeCounterMBean.TYPE, "nodeCounter"));
+ nc, NodeCounterMBean.TYPE, "nodeCounter2"));
}
regs.add(registerMBean(whiteboard, QueryEngineSettingsMBean.class,