You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2021/04/16 21:07:00 UTC

[jira] [Created] (SOLR-15350) fieldCache stats contain entries for other things (a regression)

David Smiley created SOLR-15350:
-----------------------------------

             Summary: fieldCache stats contain entries for other things (a regression)
                 Key: SOLR-15350
                 URL: https://issues.apache.org/jira/browse/SOLR-15350
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: metrics
    Affects Versions: main (9.0)
            Reporter: David Smiley


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:
{noformat}
"stats":{
          "CACHE.core.fieldCache.entries_count":0,
          "CACHE.core.fieldCache.total_size":"0 bytes"}}},
{noformat}
But on main/9x, there are lots of stats entries with prefixes for other MBeans:
{noformat}
"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",
...
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org