Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Solr auto-creates a metrics SolrJmxReporter if there is a Java platform "MBeanServer" that exists, which AFAICT is always. Since JMX isn't disable-able (right?), I think Solr shouldn't do this. Pertinent code is in: SolrXmlConfig.getMetricReporterPluginInfos.
To be clear, SolrJmxReporter will definitely still exist; it'll just be opt-in.
https://lists.apache.org/thread/fhfsc2fnksz7tk5nqhjzb9cdy3qmh9gd
Benefits are minor but it's something. Reduce core load & start time, and related logging of this. Perhaps there are positive security ramifications as well. Maybe it'll improve our test suite performance too.