You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Kadir Ozdemir (Jira)" <ji...@apache.org> on 2023/04/03 19:11:00 UTC

[jira] [Created] (PHOENIX-6918) ScanningResultIterator should not retry when the query times out

Kadir Ozdemir created PHOENIX-6918:
--------------------------------------

             Summary: ScanningResultIterator should not retry when the query times out
                 Key: PHOENIX-6918
                 URL: https://issues.apache.org/jira/browse/PHOENIX-6918
             Project: Phoenix
          Issue Type: Improvement
            Reporter: Kadir Ozdemir
            Assignee: Lokesh Khurana


ScanningResultIterator drops dummy results and retries Result#next() in a loop as part of the Phoenix server paging feature.

ScanningResultIterator does not check if the query has already timed out currently. This means that ScanningResultIterator let the server to work on the scan even though the Phoenix query is already timed out. ScanningResultIterator should check if the query of the scan has been timed out and if so should return an operation timeout exception as BaseResultIterators does.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)