[ 
https://issues.apache.org/jira/browse/HBASE-19035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16221763#comment-16221763
 ] 

Guanghao Zhang commented on HBASE-19035:
----------------------------------------

bq. That might be double update issue.
Yes. This is a problem if we let CP users to modify metrics.

Maybe we should not expose metrics to CP. And only update metrics in the class 
what we exposed to CP. Like scan metrics, if we expose RegionScaner to CP, we 
should update scan metrics in RegionScanner, not in RSRpcServices. What do you 
guys think? [~stack] [~apurtell] [~Apache9] [~anoop.hbase]

> Miss metrics when coprocessor use region scanner to read data
> -------------------------------------------------------------
>
>                 Key: HBASE-19035
>                 URL: https://issues.apache.org/jira/browse/HBASE-19035
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Guanghao Zhang
>
> Region interface is exposed to coprocessor. So coprocessor use getScanner to 
> get a region scanner to read data. But the scan metrics was only updated in 
> region server level. So we will miss some scan metrics for the read from 
> coprocessor.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to