You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/09/04 09:17:00 UTC
[jira] [Updated] (FLINK-40549) Split level metrics leak the closed metricGroup on split finish
[ https://issues.apache.org/jira/browse/FLINK-40549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-40549:
-----------------------------------
Labels: pull-request-available (was: )
> Split level metrics leak the closed metricGroup on split finish
> ---------------------------------------------------------------
>
> Key: FLINK-40549
> URL: https://issues.apache.org/jira/browse/FLINK-40549
> Project: Flink
> Issue Type: Bug
> Reporter: Efrat Levitan
> Priority: Major
> Labels: pull-request-available
>
> Today there's no API to deregister child metric groups added via {{{}MetricGroup#addGroup{}}}. This is not a problem as long as child metric groups are permanent through parent lifecycle.
> For split level metric group this is a problem because they might not live as long as the source (aka splitFinished). As a result we are left with a closed child metric group reference on the parent, preventing the object GC.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)