solr icon indicating copy to clipboard operation
solr copied to clipboard

SOLR-17777: Fix leaked metric registry after core unload

Open psalagnac opened this issue 6 months ago • 1 comments

https://issues.apache.org/jira/browse/SOLR-17777

Description

This fixes a minor memory leak. I don't think it can have an actual impact on heap, but the fix is trivial and not risky.

Solution

This makes sure we don't re-create a registry when none exists during core unload.

Tests

Added a new test to validate we don't have the core registry anymore after unload.

psalagnac avatar Jun 10 '25 17:06 psalagnac

@sigram tagging you as a suitable reviewer

dsmiley avatar Jun 15 '25 23:06 dsmiley