[ 
https://issues.apache.org/jira/browse/PHOENIX-6211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17250504#comment-17250504
 ] 

ASF GitHub Bot commented on PHOENIX-6211:
-----------------------------------------

jpisaac commented on a change in pull request #973:
URL: https://github.com/apache/phoenix/pull/973#discussion_r544507112



##########
File path: 
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixTTLRegionObserver.java
##########
@@ -204,17 +213,22 @@ public 
PhoenixTTLRegionScanner(RegionCoprocessorEnvironment env, Scan scan,
 
         private boolean doNext(List<Cell> result, boolean raw) throws 
IOException {
             try {
+                long startTime = EnvironmentEdgeManager.currentTimeMillis();
                 boolean hasMore;
                 do {
                     hasMore = raw ? scanner.nextRaw(result) : 
scanner.next(result);
                     if (result.isEmpty()) {
                         break;
                     }
+                    if (isDummy(result)) {
+                        return true;
+                    }
                     numRowsScanned++;
                     if (maskIfExpired && checkRowNotExpired(result)) {
                         break;
                     }
 
+                    //TODO 6211 The following logic does not sound correct

Review comment:
       @gjacoby126 @kadirozde if this comment was related to the test failures, 
then as I indicated we have a fix for it. The test failures were happening when 
deleting from local indexes




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


> Paged scan filters
> ------------------
>
>                 Key: PHOENIX-6211
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6211
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 5.0.0, 4.14.3
>            Reporter: Kadir OZDEMIR
>            Assignee: Kadir OZDEMIR
>            Priority: Major
>             Fix For: 4.16.0
>
>         Attachments: PHOENIX-6211.4.x.001.patch, PHOENIX-6211.4.x.002.patch, 
> PHOENIX-6211.master.001.patch, PHOENIX-6211.master.002.patch, 
> PHOENIX-6211.master.003.patch, PHOENIX-6211.master.004.patch, 
> PHOENIX-6211.master.005.patch, PHOENIX-6211.master.006.patch, 
> PHOENIX-6211.master.007.patch, PHOENIX-6211.master.008.patch, 
> PHOENIX-6211.master.009.patch
>
>
> Phoenix performs two main operations on the server side: aggregation and 
> filtering. However, currently there is no internal Phoenix paging capability, 
> and thus server side operations can take long enough to lead to HBase client 
> timeouts. PHOENIX-5998 and PHOENIX-6207 are for providing the paging 
> capability for ungrouped and grouped aggregate operations. This improvement 
> Jira is for adding the paging capability for scan filters. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to