Efrat Levitan created FLINK-40549:
-------------------------------------
Summary: 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
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)