You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/09/24 12:02:00 UTC

[jira] [Updated] (HBASE-29626) Refactor how server side scan metrics are populated for correct and cleaner consumption in Coproc hooks

     [ https://issues.apache.org/jira/browse/HBASE-29626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HBASE-29626:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            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)