You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/05/19 17:09:00 UTC
[jira] [Commented] (GEODE-10319) Stopping the metrics service does not delete its meters
[ https://issues.apache.org/jira/browse/GEODE-10319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17539683#comment-17539683 ]
ASF subversion and git services commented on GEODE-10319:
---------------------------------------------------------
Commit a9edcc5d19fd8df547cce1b0937183fa51bf0245 in geode's branch refs/heads/develop from Dale Emery
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=a9edcc5d19 ]
GEODE-10319: Clear meters when closing the meter registry (#7705)
* GEODE-10319: Clear meters when closing the meter registry
* Close first, allowing registry to close meters
> Stopping the metrics service does not delete its meters
> -------------------------------------------------------
>
> Key: GEODE-10319
> URL: https://issues.apache.org/jira/browse/GEODE-10319
> Project: Geode
> Issue Type: Bug
> Components: statistics
> Affects Versions: 1.15.0, 1.16.0
> Reporter: Dale Emery
> Assignee: Dale Emery
> Priority: Major
> Labels: needsTriage, pull-request-available
>
> Some of Geode's standard meters hold references the cache. {{InternalDistributedSystemMetricsService.clearAndCloseMeterRegistry()}} closes the meter registry without deleting its meters. As a result, the closed registry retains indirect references to the cache, holding the closed cache in memory.
> {{clearAndCloseMeterRegistry()}} should clear the registry in addition to closing it.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)