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

Make request handler metrics optional

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.1, 6.0
    • Fix Version/s: None
    • Component/s: Admin UI
    • Labels:
      None

      Description

      Uwe Schindler noticed what looked like a memory leak caused by the addition of SOLR-1972. I don't believe it's actually a leak, but the additional memory required does appear to be causing problems for Solr test JVMs. I think this is likely because there are a LOT of request handlers defined for even a very minimal test config, each of which ends up with the new objects.

      This is an attempt to provide an option for turning on the new statistics only when required. For most people, this will only be required for search handlers.

      If this is not successful at fixing the test problems, we can remove metrics with this issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                elyograg Shawn Heisey
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: