You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2019/03/03 11:15:43 UTC

[hbase] branch branch-2 updated: HBASE-21983 Should track the scan metrics in AsyncScanSingleRegionRpcRetryingCaller if scan metrics is enabled

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

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


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 21c7e88  HBASE-21983 Should track the scan metrics in AsyncScanSingleRegionRpcRetryingCaller if scan metrics is enabled
21c7e88 is described below

commit 21c7e880d4603d566dfbfd835ce47dda75b6cfc1
Author: zhangduo <zh...@apache.org>
AuthorDate: Sun Mar 3 17:59:26 2019 +0800

    HBASE-21983 Should track the scan metrics in AsyncScanSingleRegionRpcRetryingCaller if scan metrics is enabled
---
 .../hadoop/hbase/client/AsyncScanSingleRegionRpcRetryingCaller.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncScanSingleRegionRpcRetryingCaller.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncScanSingleRegionRpcRetryingCaller.java
index ab37b5d..b87d170 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncScanSingleRegionRpcRetryingCaller.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncScanSingleRegionRpcRetryingCaller.java
@@ -565,7 +565,7 @@ class AsyncScanSingleRegionRpcRetryingCaller {
     }
     resetController(controller, callTimeoutNs, priority);
     ScanRequest req = RequestConverter.buildScanRequest(scannerId, scan.getCaching(), false,
-      nextCallSeq, false, false, scan.getLimit());
+      nextCallSeq, scan.isScanMetricsEnabled(), false, scan.getLimit());
     stub.scan(controller, req, resp -> onComplete(controller, resp));
   }