[FLINK-16587][checkpointing] Fix abortion of ChannelStateWriter and add...
[FLINK-16587][checkpointing] Fix abortion of ChannelStateWriter and add test/IT cases for unaligned checkpoint. In ChannelStateCheckpointWriter#fail, DataOutputStream flushes on close, which is not possible when checkpointStream is closed before. That can happen either directly in fail or through a previous finishWriteAndResult. DataOutputStream#close does not need to be closed in both cases as long as checkpointStream is closed. checkpointStream#close is idempotent.
Showing
此差异已折叠。
想要评论请 注册 或 登录