You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Piotr Nowojski (Jira)" <ji...@apache.org> on 2021/09/07 09:06:00 UTC
[jira] [Closed] (FLINK-21821) Clean up Task/StreamTask cancellation
and remove unnecessary concurrency
[ https://issues.apache.org/jira/browse/FLINK-21821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Piotr Nowojski closed FLINK-21821.
----------------------------------
Resolution: Not A Bug
The bug discussed above was extracted as an independent issue after all.
> Clean up Task/StreamTask cancellation and remove unnecessary concurrency
> -------------------------------------------------------------------------
>
> Key: FLINK-21821
> URL: https://issues.apache.org/jira/browse/FLINK-21821
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Network, Runtime / Task
> Affects Versions: 1.13.0
> Reporter: Kezhu Wang
> Priority: Not a Priority
> Labels: auto-deprioritized-major
>
> I think {{AbstractInvokable.cancel}} should only do flag things but not closing staff. Otherwise task canceler and task thread will contend on these closing tasks.
> It is same for {{BatchTask.cancel}} which might be confirmed as one potential cause for FLINK-21728.
> cc [~dwysakowicz] [~roman_khachatryan] [~pnowojski] [~AHeise]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)