[
https://issues.apache.org/jira/browse/FLINK-22725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler updated FLINK-22725:
-------------------------------------
Issue Type: Bug (was: Improvement)
> SlotManagers should unregister metrics at the start of suspend()
> ----------------------------------------------------------------
>
> Key: FLINK-22725
> URL: https://issues.apache.org/jira/browse/FLINK-22725
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination, Runtime / Metrics
> Affects Versions: 1.13.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.14.0, 1.13.2
>
>
> Slotmanagers register metrics in start(), but only unregister them in close().
> This has 2 issues:
> a) If the SM is restarted it cannot re-register the metrics because the old
> ones are still present; this isn't a critical problem (because the old ones
> still work) but it produces unnecesasry logging noise
> b) The metric may produce an NPE when accessed by a reporter during suspend().
--
This message was sent by Atlassian Jira
(v8.3.4#803005)