You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Kostas Kloudas (JIRA)" <ji...@apache.org> on 2016/11/11 15:24:59 UTC

[jira] [Created] (FLINK-5056) BucketingSink deletes valid data when checkpoint notification is slow.

Kostas Kloudas created FLINK-5056:
-------------------------------------

             Summary: BucketingSink deletes valid data when checkpoint notification is slow.
                 Key: FLINK-5056
                 URL: https://issues.apache.org/jira/browse/FLINK-5056
             Project: Flink
          Issue Type: Bug
          Components: filesystem-connector
    Affects Versions: 1.1.3
            Reporter: Kostas Kloudas
            Assignee: Kostas Kloudas
             Fix For: 1.2.0


Currently if BucketingSink receives no data after a checkpoint and then a notification about a previous checkpoint arrives, it clears its state. This can 
lead to not committing valid data about intermediate checkpoints for whom
a notification has not arrived yet. As a simple sequence that illustrates the 
problem:
-> input data 
-> snapshot(0) 
-> input data
-> snapshot(1)
-> no data
-> notifyCheckpointComplete(0)

the last will clear the state of the Sink without committing as final the data 
that arrived for checkpoint 1.
 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)