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

Ashu Pachauri commented on HBASE-17816:
---------------------------------------

[~Weizhan Zeng] It's matter of semantics, as to what we count as a write 
request, a request that was issued or a request that succeeded. If you look at 
other parts in the code, we count any request that reaches HRegion, whether 
it's successful or not. For example, look at HRegion#batchMutate.

> HRegion#mutateRowWithLocks should update writeRequestCount metric
> -----------------------------------------------------------------
>
>                 Key: HBASE-17816
>                 URL: https://issues.apache.org/jira/browse/HBASE-17816
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ashu Pachauri
>            Assignee: Ashu Pachauri
>         Attachments: HBASE-17816.master.001.patch
>
>
> Currently, all the calls that use HRegion#mutateRowWithLocks miss 
> writeRequestCount metric. The mutateRowWithLocks base method should update 
> the metric.
> Examples are checkAndMutate calls through RSRpcServices#multi, 
> Region#mutateRow api , MultiRowMutationProcessor coprocessor endpoint.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to