You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Piotr Nowojski (Jira)" <ji...@apache.org> on 2026/09/07 10:14:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=18112277#comment-18112277 ]
Piotr Nowojski commented on FLINK-40549:
----------------------------------------
merged commit 7fcc6b8 and 7fcc6b8^ into apache:master
> 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
> Fix For: 2.4.0
>
>
> 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)