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

qiunan commented on FLINK-23408:
--------------------------------

[~dwysakowicz] hello,Currently, the stop-with-savepoint [-drain] parameter will 
block the source task if it is true, but why not block the source task if it is 
false?

If I want to stop the job and then recover from savepoint, the data will be 
consumed repeatedly if the source task is not blocked.

> Wait for a checkpoint completed after finishing a task
> ------------------------------------------------------
>
>                 Key: FLINK-23408
>                 URL: https://issues.apache.org/jira/browse/FLINK-23408
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Checkpointing, Runtime / Task
>            Reporter: Dawid Wysakowicz
>            Assignee: Dawid Wysakowicz
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.14.0
>
>
> Before finishing a task we should wait for a checkpoint issued after 
> {{finish()}} to commit all pending transactions created from the {{finish()}} 
> method.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to