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

Andrew Purtell commented on HBASE-18770:
----------------------------------------

bq. Even if we bypass, we must update pertinent core metrics (in old days, on 
by-pass, a CP might want to increment certain metrics anyways for whatever 
reason); we'd do this so we do NOT have to expose internal metrics systems to 
CPs (It has its own metrics to which it can gain access via CPEnv).

Oh, this sounds good. I think operators for systems incorporating coprocessors 
can live with this. Because metrics are always updated in a consistent fashion 
by core code all relevant behavior would be externally visible, which would be 
good, rather than maybe some metrics which should be incremented are not at all 
due to bypass without access to metrics, producing a misleading impression on 
system behavior, which would be bad.

> Remove bypass method in ObserverContext and implement the 'bypass' logic case 
> by case
> -------------------------------------------------------------------------------------
>
>                 Key: HBASE-18770
>                 URL: https://issues.apache.org/jira/browse/HBASE-18770
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>            Reporter: Duo Zhang
>            Assignee: stack
>             Fix For: 2.0.0-alpha-4
>
>
> http://search-hadoop.com/m/HBase/YGbbXd0RDCIHSC1



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

Reply via email to