sanjeet006py commented on code in PR #2329:
URL: https://github.com/apache/phoenix/pull/2329#discussion_r2624279569


##########
phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/UncoveredGlobalIndexRegionScanner.java:
##########
@@ -134,6 +143,13 @@ protected void scanDataRows(Collection<byte[]> 
dataRowKeys, long startTime) thro
           + region.getRegionInfo().getRegionNameAsString() + " could not 
complete on time (in "
           + pageSizeMs + " ms) and" + " will be resubmitted");
       }
+      if (isScanMetricsEnabled) {
+        Map<String, Long> scanMetrics = 
resultScanner.getScanMetrics().getMetricsMap();

Review Comment:
   No, I didn't think of using ScanMetrics directly. Thanks for suggestion. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to