[ https://issues.apache.org/jira/browse/FLINK-5065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17336834#comment-17336834 ]
Flink Jira Bot commented on FLINK-5065: --------------------------------------- This issue was labeled "stale-major" 7 ago and has not received any updates so it is being deprioritized. If this ticket is actually Major, please raise the priority and ask a committer to assign you the issue or revive the public discussion. > Resource leaks in case of lost checkpoint messages > -------------------------------------------------- > > Key: FLINK-5065 > URL: https://issues.apache.org/jira/browse/FLINK-5065 > Project: Flink > Issue Type: Bug > Components: Runtime / Checkpointing > Affects Versions: 1.1.3, 1.2.0 > Reporter: Till Rohrmann > Priority: Major > Labels: stale-major > > In case of lost checkpoint messages ({{AbstractCheckpointMessage}}) there > won't be a clean up of the contained state handle done. This can happen in > case of a JM crash if the TM had just sent a checkpoint message to the JM. > Upon recovery, the JM won't notice that there was a checkpoint message which > it had to handle. > One way to mitigate the problem is to let the TM expect a response from the > JM and if the JM failed to respond in time, to discard the state handle of > the checkpoint message. Moreover, the JM could register in a fault tolerant > store that it started a pending checkpoint. The entry should contain enough > information (e.g. path for {{FileSystemStateBackend}}) to clean up a pending > checkpoint with potentially lost checkpoint messages upon recovery of the JM. -- This message was sent by Atlassian Jira (v8.3.4#803005)