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

Weizhan Zeng commented on HBASE-17816:
--------------------------------------

   {code:none}

  MultiRowMutationProcessor proc = new MultiRowMutationProcessor(mutations, 
rowsToLock);
     processRowsWithLocks(proc, -1, nonceGroup, nonce);
+    writeRequestsCount.add(mutations.size());
{code} 
[~ashu210890] I think we should add requests after process. How do you think?

> 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