kadirozde commented on code in PR #1923:
URL: https://github.com/apache/phoenix/pull/1923#discussion_r1666003961


##########
phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/PagingRegionScanner.java:
##########
@@ -59,8 +70,32 @@ public PagingRegionScanner(Region region, RegionScanner 
scanner, Scan scan) {
         if (pagingFilter != null) {
             pagingFilter.init();
         }
+
+        TableDescriptor tableDescriptor = region.getTableDescriptor();
+        BloomType bloomFilterType = 
tableDescriptor.getColumnFamilies()[0].getBloomFilterType();
+        if (bloomFilterType == BloomType.ROW) {
+            // Check if the scan is a multi-point-lookup scan
+            skipScanFilter = ScanUtil.getSkipScanFilter(scan);

Review Comment:
   It turned out that we have to keep the skip scan filter to handle region 
moves. In that case, we need to do range scan with the skip scan filter to 
retrieve the next row.



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