Remove ReassigningPartitions metric when shutting down ReplicaManager
One gauge is missing in ReplicaManager#removeMetrics
Reviewers: Chia-Ping Tsai Anna Sophie Blee-Goldman <
@@ -1865,6 +1865,7 @@ class ReplicaManager(val config: KafkaConfig,
removeMetric("UnderReplicatedPartitions")
removeMetric("UnderMinIsrPartitionCount")
removeMetric("AtMinIsrPartitionCount")
+ removeMetric("ReassigningPartitions")
}
// High watermark do not need to be checkpointed only when under unit tests
