[
https://issues.apache.org/jira/browse/FLINK-40549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Piotr Nowojski closed FLINK-40549.
----------------------------------
Fix Version/s: 2.2.2
2.3.1
Resolution: Fixed
merged commit b2f4045 and b2f4045^ into apache:release-2.3
merged commit 61ec50e and 61ec50e^ into apache:release-2.2
> 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
> Affects Versions: 2.3.0, 2.2.1, 2.1.3
> Reporter: Efrat Levitan
> Assignee: Efrat Levitan
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.2.2, 2.3.1, 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)