[ https://issues.apache.org/jira/browse/HBASE-18982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Misra updated HBASE-18982: --------------------------------- Priority: Minor (was: Major) > Metrics are lost when Metrics-Region-Source object is de-registered from > Metrics-Aggregate-Region-Source object. > ---------------------------------------------------------------------------------------------------------------- > > Key: HBASE-18982 > URL: https://issues.apache.org/jira/browse/HBASE-18982 > Project: HBase > Issue Type: Bug > Components: Coprocessors, metrics > Reporter: Ashish Misra > Priority: Minor > > The Metrics-Region-Source class maintains metrics for a given region. > The Metrics-Region-Aggregate-Source class allows register/deregister of > objects of type Metric-Region-Source. The get-Metrics method on > Metrics-Region-Source-Aggregate class, gets metrics from all the > Metrics-Region-Source objects registered with it. > The Metrics-Region-Source object is deregistered when the region is closed. > When a Metrics-Region-Source object is deregistered, its directly removed > from the set maintained by Metrics-Region-Aggregate-Source object. In such a > case, the final metrics of Metrics-Region-Source object are lost. These > metrics must be logged one last time before the Metrics-Region-Source object > is removed. -- This message was sent by Atlassian JIRA (v6.4.14#64029)