You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2019/08/04 07:38:00 UTC
[jira] [Updated] (FLINK-13476) Release partitions for FINISHED
tasks if they are cancelled/suspended
[ https://issues.apache.org/jira/browse/FLINK-13476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler updated FLINK-13476:
-------------------------------------
Summary: Release partitions for FINISHED tasks if they are cancelled/suspended (was: Release partitions for FINISHED or FAILED tasks if they are cancelled)
> Release partitions for FINISHED tasks if they are cancelled/suspended
> ---------------------------------------------------------------------
>
> Key: FLINK-13476
> URL: https://issues.apache.org/jira/browse/FLINK-13476
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Affects Versions: 1.9.0
> Reporter: Till Rohrmann
> Assignee: Chesnay Schepler
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> With FLINK-12615 we removed that partitions are being explicitly released from the JM if an {{Execution}} which is in state {{FINISHED}} or {{FAILED}} is being cancelled. In order to not have resource leak when using pipelined result partitions whose consumers fail before start consuming, we should re-introduce the deleted else branch (removed via 408f6b67aefaccfc76708b2d4772eb7f0a8fd984).
> Once we properly wait that a {{Task}} does not finish until its produced results have been either persisted or sent to a consumer, then we should be able to remove this branch again.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)