You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ra...@apache.org on 2020/04/17 12:13:15 UTC

[hbase] branch branch-2.3 updated: MetricsTable#updateFlushTime is wrong (#1539)

This is an automated email from the ASF dual-hosted git repository.

ramkrishna pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.3 by this push:
     new aa5b28a  MetricsTable#updateFlushTime is wrong (#1539)
aa5b28a is described below

commit aa5b28a7797564e021dd57626bebe911ad5da727
Author: gkanade <ga...@gmail.com>
AuthorDate: Fri Apr 17 15:40:27 2020 +0530

    MetricsTable#updateFlushTime is wrong (#1539)
    
    Authored-by: Gaurav Kanade <gk...@microsoft.com>
    Signed-off-by: Ramkrishna <ra...@apache.org>
---
 .../java/org/apache/hadoop/hbase/regionserver/MetricsRegionServer.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServer.java
index 98f400e..a66ae00 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServer.java
@@ -224,7 +224,7 @@ public class MetricsRegionServer {
     serverSource.updateFlushOutputSize(fileSize);
 
     if (table != null) {
-      metricsTable.updateFlushTime(table, memstoreSize);
+      metricsTable.updateFlushTime(table, t);
       metricsTable.updateFlushMemstoreSize(table, memstoreSize);
       metricsTable.updateFlushOutputSize(table, fileSize);
     }