You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2026/02/26 16:46:00 UTC

[jira] [Assigned] (IMPALA-14788) Cancelling query could potentially poison Thread reuse

     [ https://issues.apache.org/jira/browse/IMPALA-14788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Smith reassigned IMPALA-14788:
--------------------------------------

    Assignee: Michael Smith

> Cancelling query could potentially poison Thread reuse
> ------------------------------------------------------
>
>                 Key: IMPALA-14788
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14788
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 5.0.0
>            Reporter: Michael Smith
>            Assignee: Michael Smith
>            Priority: Major
>
> Query cancellation in IMPALA-915 has a potential race condition in Canceller:
> # {{cancel(id) -> queryThreads_.get(id)}}
> # {{close() -> queryThreads_.remove(id) -> <return>}}
> # {{queryThread.interrupt()}}
> This would leave the queryThread in an interrupted state, and if it's re-used would cause a later operation to be interrupted.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org