You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Matthew Biscocho (Jira)" <ji...@apache.org> on 2026/09/17 13:44:00 UTC

[jira] [Created] (SOLR-18456) Route all observable metric registration through SolrMetricsContext

Matthew Biscocho created SOLR-18456:
---------------------------------------

             Summary: Route all observable metric registration through SolrMetricsContext
                 Key: SOLR-18456
                 URL: https://issues.apache.org/jira/browse/SOLR-18456
             Project: Solr
          Issue Type: Improvement
            Reporter: Matthew Biscocho


SOLR-18442 was a leak caused by a single observable gauge whose registration never reached SolrMetricsContext's closeables list, so its callback was never unregistered and pinned every SolrIndexSearcher ever opened.

We should better protect devs from this in the future or if new observable instruments get created by making it impossible to register an observable metric without cleanup.{{{}{}}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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