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

Reply via email to