Sanjeet Malhotra created HBASE-29626:
----------------------------------------

             Summary: Refactor how server side scan metrics are populated for 
correct and cleaner consumption in 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


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)

Reply via email to