You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2021/01/12 08:05:00 UTC

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

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

Ignite TC Bot commented on IGNITE-13964:
----------------------------------------

{panel:title=Branch: [pull/8639/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/8639/head] Base: [master] : New Tests (1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Queries 1{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5823158]]
* {color:#013220}IgniteBinaryCacheQueryTestSuite: IgniteCacheLocalQueryCancelOrTimeoutSelfTest.testQueryCancelMultithreaded - PASSED{color}

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5823177&amp;buildTypeId=IgniteTests24Java8_RunAll]

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