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

fieldCache stats contain entries for other things (a regression)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 9.0
    • None
    • metrics
    • None

    Description

      Accessing the MBean stats for the fieldCache on main (9x) are polluted with entries for other MBeans.  This problem does not appear on 8x.

      On 8x, using the docker image:
      docker run --rm --name solr -p 8983:8983 solr:8 solr-demo
      Then access this URL:
      http://localhost:8983/solr/demo/admin/mbeans?key=fieldCache&stats=true
      You'll see only two stats entries:

      "stats":{
                "CACHE.core.fieldCache.entries_count":0,
                "CACHE.core.fieldCache.total_size":"0 bytes"}}},
      

      But on main/9x, there are lots of stats entries with prefixes for other MBeans:

      "stats":{
                "CORE.fs.totalSpace":499963174912,
                "CORE.coreName":"benchifi-org01",
                "INDEX.sizeInBytes":86685426,
                "SEARCHER.new.errors":0,
                "CORE.refCount":2,
                "CACHE.core.fieldCache.total_size":"0 bytes",
      ...
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: