[
https://issues.apache.org/jira/browse/IMPALA-14788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on IMPALA-14788 started by 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: [email protected]
For additional commands, e-mail: [email protected]