[ 
https://issues.apache.org/jira/browse/FLINK-12574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16846741#comment-16846741
 ] 

yitzchak lieberman commented on FLINK-12574:
--------------------------------------------

its not related to restore from checkpoint as the files get their names from 
sub task id and part counter, like: part-<sub task id>-<part counter>

so if the application cancelled and starts again from some checkpoint the files 
will be overwritten.

> using sink StreamingFileSink files are overwritten when resuming application 
> causing data loss
> ----------------------------------------------------------------------------------------------
>
>                 Key: FLINK-12574
>                 URL: https://issues.apache.org/jira/browse/FLINK-12574
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / FileSystem
>    Affects Versions: 1.8.0
>            Reporter: yitzchak lieberman
>            Priority: Critical
>
> when part files are saved to s3 bucket (with bucket assigner) with simple 
> names such as:
> part-0-0 and part-1-2
> restarting or resuming application causes checkpoint id to start from 0 and 
> old files will be replaced by new part files.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to