Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6750

Solr adds RequestHandler SolrInfoMBeans twice to the JMX server.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markrmiller@gmail.com Mark Miller
                Reporter:
                markrmiller@gmail.com Mark Miller
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: