You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Konstantin Orlov (Jira)" <ji...@apache.org> on 2021/01/11 09:10:00 UTC

[jira] [Created] (IGNITE-13964) Query cancellation freezes on local lazy queries

Konstantin Orlov created IGNITE-13964:
-----------------------------------------

             Summary: Query cancellation freezes on local lazy queries
                 Key: IGNITE-13964
                 URL: https://issues.apache.org/jira/browse/IGNITE-13964
             Project: Ignite
          Issue Type: Bug
          Components: sql
    Affects Versions: 2.9.1
            Reporter: Konstantin Orlov
            Assignee: Konstantin Orlov


The reason is a query cancellation that acquires an iterator's lock to check the availability of a next row and thus update a state of the cursor to prevent unnecessary request cancelation. But the lock is already held by a query thread to fetch a next page, so the cancellation is forced to wait till the page will be completely prefetched.

 



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