Michael Smith created IMPALA-14788:
--------------------------------------
Summary: 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
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]