[
https://issues.apache.org/jira/browse/HBASE-29626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Viraj Jasani updated HBASE-29626:
---------------------------------
Summary: Refactor server side scan metrics for Coproc hooks (was: Refactor
how server side scan metrics are populated for correct and cleaner consumption
in Coproc hooks)
> 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
>
> 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)