You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2018/07/06 12:03:00 UTC
[jira] [Created] (FLINK-9776) Interrupt TaskThread only while in
User/Operator code
Stephan Ewen created FLINK-9776:
-----------------------------------
Summary: Interrupt TaskThread only while in User/Operator code
Key: FLINK-9776
URL: https://issues.apache.org/jira/browse/FLINK-9776
Project: Flink
Issue Type: Improvement
Components: Local Runtime
Reporter: Stephan Ewen
Assignee: Stephan Ewen
Fix For: 1.6.0
Upon cancellation, the task thread is periodically interrupted.
This helps to pull the thread out of blocking operations in the user code.
Once the thread leaves the user code, the repeated interrupts may interfere with the shutdown cleanup logic, causing confusing exceptions.
We should stop sending the periodic interrupts once the thread leaves the user code.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)