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: [email protected]
For additional commands, e-mail: [email protected]