[
https://issues.apache.org/jira/browse/IMPALA-6194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16703990#comment-16703990
]
Tim Armstrong commented on IMPALA-6194:
---------------------------------------
Ah ok, so we could make this about augmenting the condition variables (or
whatever else)?
I think we'd still have the problem of needed to wait in certain places for
cleanup to happen before it's safe to tear things down, but I guess we could
reduce the number of places that fragment threads can block when the fragment
is cancelled.
> Ensure all fragment instances notice cancellation
> -------------------------------------------------
>
> Key: IMPALA-6194
> URL: https://issues.apache.org/jira/browse/IMPALA-6194
> Project: IMPALA
> Issue Type: Improvement
> Components: Backend
> Reporter: Lars Volker
> Priority: Critical
> Labels: observability, supportability
>
> Currently queries can get stuck in an uncancellable state, e.g. when blocking
> on function calls or condition variables without periodically checking for
> cancellation. We should eliminate all those calls and make sure we don't
> re-introduce such issues. One option would be a watchdog to check that each
> fragment instance regularly calls RETURN_IF_CANCEL.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]