[
https://issues.apache.org/jira/browse/FLINK-27910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17551450#comment-17551450
]
Yun Gao commented on FLINK-27910:
---------------------------------
Fix on master via d036c23c0e5c079eaafef250a5a14b7f3eead8f1
Fix on release-1.15 via a9905e2a14b54a10c429af8b75f414c8ac3b7638
> FileSink not registered the timer to enforce rolling policy if started from
> scratch
> -----------------------------------------------------------------------------------
>
> Key: FLINK-27910
> URL: https://issues.apache.org/jira/browse/FLINK-27910
> Project: Flink
> Issue Type: Bug
> Components: Connectors / FileSystem
> Affects Versions: 1.15.0, 1.16.0
> Reporter: Yun Gao
> Assignee: Gen Luo
> Priority: Critical
> Labels: pull-request-available
>
> The current FileWriter only register the timer in initializeState, which is
> now only called on restoring. Thus if the job is started from scratch, the
> timer would fail to be registered and cause the rolling policy not work.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)