You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2014/11/17 17:05:34 UTC

[jira] [Created] (SOLR-6750) Solr adds RequestHandler SolrInfoMBeans twice to the JMX server.

Mark Miller created SOLR-6750:
---------------------------------

             Summary: Solr adds RequestHandler SolrInfoMBeans twice to the JMX server.
                 Key: SOLR-6750
                 URL: https://issues.apache.org/jira/browse/SOLR-6750
             Project: Solr
          Issue Type: Bug
            Reporter: Mark Miller
            Assignee: Mark Miller
             Fix For: 5.0, Trunk


I think we want to stop doing this for 5.

It should be really cheap to enumerate and get stats for all of the SolrInfoMBeans, but between this and SOLR-6747, you will overall call getStatistics far too much.

They are added twice because all request handlers are added using their path as the key, and then whatever the SolrResourceLoader has created is added using the default getName (the full class name) as the key.

I think we should start only allowing an object to appear once in the bean map in 5.0. The way the code currently works, the replication handler objects would take precedence, which seems right to me.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org