[
https://issues.apache.org/jira/browse/FLINK-21178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jiangjie Qin resolved FLINK-21178.
----------------------------------
Assignee: Brian Zhou
Resolution: Fixed
Merged.
master: a08ba482a0382a02e26e039bccfb81782533f082
release-1.12: 4b1212ddca42a1a49f9d0e25f74c9f7bf0dda297
> Task failure will not trigger master hook's reset()
> ---------------------------------------------------
>
> Key: FLINK-21178
> URL: https://issues.apache.org/jira/browse/FLINK-21178
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Checkpointing
> Affects Versions: 1.11.3, 1.12.0
> Reporter: Brian Zhou
> Assignee: Brian Zhou
> Priority: Major
> Labels: pull-request-available
>
> In Pravega Flink connector integration with Flink 1.12, we found an issue
> with our no-checkpoint recovery test case [1].
> We expect the recovery will call the ReaderCheckpointHook::reset() function
> which was the behaviour before 1.12. However FLINK-20222 changes the logic,
> the reset() call will only be called along with a global recovery. This
> causes Pravega source data loss when failure happens before the first
> checkpoint.
> [1]
> [https://github.com/crazyzhou/flink-connectors/blob/da9f76d04404071471ebd86bf6889b307c9122ff/src/test/java/io/pravega/connectors/flink/FlinkPravegaReaderRGStateITCase.java#L78]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)