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)