You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stefan Richter (JIRA)" <ji...@apache.org> on 2017/05/23 13:37:04 UTC
[jira] [Commented] (FLINK-6685) SafetyNetCloseableRegistry is
closed prematurely in Task::triggerCheckpointBarrier
[ https://issues.apache.org/jira/browse/FLINK-6685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16021192#comment-16021192 ]
Stefan Richter commented on FLINK-6685:
---------------------------------------
For the release, we can fix this by reusing the registry from the task scope and not closing it on a per-checkpoint scope.
In the future, we should fix this properly by implementing the changes suggested in FLINK-6684.
> SafetyNetCloseableRegistry is closed prematurely in Task::triggerCheckpointBarrier
> ----------------------------------------------------------------------------------
>
> Key: FLINK-6685
> URL: https://issues.apache.org/jira/browse/FLINK-6685
> Project: Flink
> Issue Type: Bug
> Affects Versions: 1.3.0
> Reporter: Stefan Richter
> Assignee: Stefan Richter
> Priority: Blocker
>
> The {{SafetyNetCloseableRegistry}} is closed to early in {{triggerCheckpointBarrier(...)}}. Right now, it seems like the code assumes that {{statefulTask.triggerCheckpoint(...)}} is blocking - which it is not. Like this, the registry can be closed while the checkpoint is still running.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)