mirror of https://github.com/apache/lucene.git
SOLR-8162: JmxMonitoredMap#clear triggers a query on all the MBeans thus generating lots of warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1709242 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
64c73ef6a2
commit
15bbb3fd0b
|
@ -279,6 +279,8 @@ Bug Fixes
|
|||
|
||||
* SOLR-8167: Authorization framework does not work with POST params (noble)
|
||||
|
||||
* SOLR-8162: JmxMonitoredMap#clear triggers a query on all the MBeans thus generating lots of warnings.
|
||||
(Marius Dumitru Florea, shalin)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
|
|
@ -141,7 +141,8 @@ public class JmxMonitoredMap<K, V> extends
|
|||
|
||||
Set<ObjectName> objectNames = null;
|
||||
try {
|
||||
objectNames = server.queryNames(null, exp);
|
||||
ObjectName instance = new ObjectName(jmxRootName + ":*");
|
||||
objectNames = server.queryNames(instance, exp);
|
||||
} catch (Exception e) {
|
||||
LOG.warn("Exception querying for mbeans", e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue