[ 
https://issues.apache.org/jira/browse/KAFKA-21096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apoorv Mittal resolved KAFKA-21096.
-----------------------------------
    Resolution: Fixed

> SharePartition instances pending cleanup even when fenced
> ---------------------------------------------------------
>
>                 Key: KAFKA-21096
>                 URL: https://issues.apache.org/jira/browse/KAFKA-21096
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.2.0
>            Reporter: Apoorv Mittal
>            Assignee: Apoorv Mittal
>            Priority: Major
>             Fix For: 4.4.0, 4.2.2, 4.3.2
>
>
> SharePartition registers Yammer gauges whose suppliers capture the 
> SharePartition instance (this::numInFlightRecords and cachedState::size). 
> These gauges were never deregistered when a partition was removed from the 
> cache, so the metrics registry kept a strong reference to every fenced 
> SharePartition (and its cachedState) for the lifetime of the broker.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to