You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Reid Chan (JIRA)" <ji...@apache.org> on 2019/07/04 03:45:00 UTC

[jira] [Created] (HBASE-22656) [Metrics] Tabe metrics `BatchPut` and `BatchDelete` are never updated

Reid Chan created HBASE-22656:
---------------------------------

             Summary: [Metrics]  Tabe metrics `BatchPut` and `BatchDelete` are never updated
                 Key: HBASE-22656
                 URL: https://issues.apache.org/jira/browse/HBASE-22656
             Project: HBase
          Issue Type: Bug
            Reporter: Reid Chan
            Assignee: Reid Chan


{code}
  public void updatePutBatch(TableName tn, long t) {
    if (tableMetrics != null && tn != null) {
      tableMetrics.updatePut(tn, t); // Here should use updatePutBatch
    }
    ...
  }

  public void updateDeleteBatch(TableName tn, long t) {
    if (tableMetrics != null && tn != null) {
      tableMetrics.updateDelete(tn, t); // Here should use updateDeleteBatch
    }
    ...
  }
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)