[FLINK-3261] Allow Task to decline checkpoint request if not ready
Before, it could happen that a StreamingTask receives a Checkpoint Trigger message while internally not being ready. The checkpoint coordinator would then wait the specified timeout interval before continuing. Now, tasks can signal that they are not ready and the checkpoint coordinator will dicard a checkpoint for which is this the case and trigger new checkpoints if necessary. The newly triggered checkpoints will also release alignment locks in streaming tasks that are still waiting for barriers from failed checkpoints.
Showing
想要评论请 注册 或 登录