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 1190299b8fa..90c62324ff4 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 @@ -561,7 +561,7 @@ class AsyncScanSingleRegionRpcRetryingCaller { } resetController(controller, callTimeoutNs); 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)); }