Liuhe Tian created HBASE-27440:
----------------------------------
Summary: metrics method removeHistogramMetrics trigger serious
memory leak
Key: HBASE-27440
URL: https://issues.apache.org/jira/browse/HBASE-27440
Project: HBase
Issue Type: Bug
Components: metrics, regionserver
Affects Versions: 2.4.15
Reporter: Liuhe Tian
the method removeHistogramMetrics will cause the metricsMap leak!
because the put op in the map is the baseName but the remove is not , the
origin code add the histogramSuffixe follow the baseName when remove.
!https://user-images.githubusercontent.com/13758677/196915944-71197086-2d53-4a85-8b5e-0a61441e8f64.png!
!https://user-images.githubusercontent.com/13758677/196916259-196e3e8a-cde0-4989-8b64-de13b860522d.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)