gkanade commented on a change in pull request #2483:
URL: https://github.com/apache/hbase/pull/2483#discussion_r521579713



##########
File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
##########
@@ -3167,7 +3187,18 @@ private RegionScannerHolder newRegionScanner(ScanRequest 
request, ScanResponse.B
     builder.setMvccReadPoint(scanner.getMvccReadPoint());
     builder.setTtl(scannerLeaseTimeoutPeriod);
     String scannerName = String.valueOf(scannerId);
-    return addScanner(scannerName, scanner, shipper, region, 
scan.isNeedCursorResult());
+
+    boolean isFullRegionScan = false;
+    if(!region.getRegionInfo().getTable().isSystemTable()) {
+      if(checkFullRegionScan(scan, region)){
+        isFullRegionScan = true;
+      } else {
+        isFullRegionScan = false;
+      }
+    } else {
+      isFullRegionScan = false;

Review comment:
       thx for the catch, yes fixed.




----------------------------------------------------------------
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.

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


Reply via email to