[
https://issues.apache.org/jira/browse/FLINK-9304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16471802#comment-16471802
]
ASF GitHub Bot commented on FLINK-9304:
---------------------------------------
Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/5962
The comment to make at least one attempt sounds good.
If you refactor this a little bit, you can actually test it. Either make it
a static method to which you pass the timer service, or better, make it a
method `shutdownUninterruptible(Deadline, Logger)` on the TimerService itself.
> Timer service shutdown should not be interrupted
> ------------------------------------------------
>
> Key: FLINK-9304
> URL: https://issues.apache.org/jira/browse/FLINK-9304
> Project: Flink
> Issue Type: Bug
> Components: Streaming
> Affects Versions: 1.5.0, 1.4.2, 1.6.0
> Reporter: Stefan Richter
> Assignee: Stefan Richter
> Priority: Major
>
> Shutting down the timer service inĀ {{StreamTask::invoke}} can be interrupted
> by the cancellation thread and make waiting for the shutdown exit prematurely.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)