Apoorv Mittal created KAFKA-21096:
-------------------------------------
Summary: SharePartition instances pending cleanup even when fenced
Key: KAFKA-21096
URL: https://issues.apache.org/jira/browse/KAFKA-21096
Project: Kafka
Issue Type: Bug
Reporter: Apoorv Mittal
Assignee: Apoorv Mittal
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)