HBASE-21983 Should track the scan metrics in AsyncScanSingleRegionRpcRetryingCaller if scan metrics is enabled

This commit is contained in:
zhangduo 2019-03-03 17:59:26 +08:00
parent 7142cea121
commit c9804758d1
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ class AsyncScanSingleRegionRpcRetryingCaller {
} }
resetController(controller, callTimeoutNs, priority); resetController(controller, callTimeoutNs, priority);
ScanRequest req = RequestConverter.buildScanRequest(scannerId, scan.getCaching(), false, 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)); stub.scan(controller, req, resp -> onComplete(controller, resp));
} }