HBASE-21983 Should track the scan metrics in AsyncScanSingleRegionRpcRetryingCaller if scan metrics is enabled
This commit is contained in:
parent
7142cea121
commit
c9804758d1
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue