You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dawid Wysakowicz (Jira)" <ji...@apache.org> on 2021/08/03 11:24:00 UTC

[jira] [Comment Edited] (FLINK-21080) Handle UnionListState with finished operators

    [ https://issues.apache.org/jira/browse/FLINK-21080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392249#comment-17392249 ] 

Dawid Wysakowicz edited comment on FLINK-21080 at 8/3/21, 11:23 AM:
--------------------------------------------------------------------

Implemented the stop-gap solution of declining checkpoints if an operator is partially finished and contain UnionListState in 3ccd984dedd1d5b6fef14c5217c6830a49bd1ecc..2f5655a085adcb7723ccf8045f29cae340e33e81


was (Author: dawidwys):
Implemented in 3ccd984dedd1d5b6fef14c5217c6830a49bd1ecc..2f5655a085adcb7723ccf8045f29cae340e33e81

> Handle UnionListState with finished operators
> ---------------------------------------------
>
>                 Key: FLINK-21080
>                 URL: https://issues.apache.org/jira/browse/FLINK-21080
>             Project: Flink
>          Issue Type: Sub-task
>          Components: API / DataStream, Runtime / Checkpointing
>            Reporter: Yun Gao
>            Assignee: Yun Gao
>            Priority: Major
>              Labels: auto-unassigned, pull-request-available
>
> Most legacy source operators would record the offset for each partitions, and after recovery it would read from the recorded offset. If before a checkpoint some subtasks are finished, the corresponding partition offsets would be deserted in the checkpoint. Then if the job recover with this checkpoint, the legacy source would re-discovery all the partitions and for those finished tasks, the legacy source would re-read them since their offsets are not recorded. 
> Therefore, we would like to fail the checkpoint if some legacy source operators have part of subtasks finished. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)