[
https://issues.apache.org/jira/browse/IGNITE-13964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263190#comment-17263190
]
Taras Ledkov commented on IGNITE-13964:
---------------------------------------
Patch is OK with me. Merged to
[master|https://github.com/apache/ignite/commit/5aeef1c1a2ab8e0b0fc6af401a924b06a0d49d85]
[~korlov], thanks for contribution.
> 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
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)