[ https://issues.apache.org/jira/browse/HBASE-29626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Viraj Jasani resolved HBASE-29626. ---------------------------------- Fix Version/s: 2.7.0 3.0.0-beta-2 2.6.4 Hadoop Flags: Reviewed Resolution: Fixed > Refactor server side scan metrics for Coproc hooks > -------------------------------------------------- > > Key: HBASE-29626 > URL: https://issues.apache.org/jira/browse/HBASE-29626 > Project: HBase > Issue Type: Improvement > Reporter: Sanjeet Malhotra > Assignee: Sanjeet Malhotra > Priority: Minor > Labels: pull-request-available > Fix For: 2.7.0, 3.0.0-beta-2, 2.6.4 > > > HBASE-29398 introduced ThreadLocalServerSideScanMetrics to capture multiple > scan metrics to capture very low level metrics. The change ended up making > region scanner stateful and in coproc hooks it can happen that original > scanner is closed rather a new region scanner is opened thus, we will lose > the state/scan metrics stored in RegionScanner. The proposal is to refactor > to make RegionScanner non stateful again and make > ThreadLocalServerSideScanMetrics LimitedPrivate to consume in coproc hooks. -- This message was sent by Atlassian Jira (v8.20.10#820010)