[ https://issues.apache.org/jira/browse/FLINK-23252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Khachatryan updated FLINK-23252: -------------------------------------- Description: Recovery from savepoint already works: * changelog off -> on: FLINK-23278 * changelog on -> off: directly calling {{underlyingBackend.}}{{savepoint}}{{()}} (instead of {{writer.persist()}}) For checkpoints, changelog on -> off doesn't work. Regular state backend will receive materialized and non-aterialized state on recovery. To support it, state changes have to be applied on recovery even if changelog backend is disabled. was: Currently, recovery from savepoint with changelog.enabled altered is not supported (an exception will be thrown because of wrong state handle type). It can be implemented by: * {{disabled -> enabled}} : load materialized state with empty non-materialized * {{enabled -> disabled}}: in {{changelog.snapshot()}} , call {{underlyingBackend.snapshot()}} (instead of {{writer.persist()}}) if savepoint > Support recovery after disabling changelog backend > -------------------------------------------------- > > Key: FLINK-23252 > URL: https://issues.apache.org/jira/browse/FLINK-23252 > Project: Flink > Issue Type: Sub-task > Components: Runtime / State Backends > Reporter: Roman Khachatryan > Priority: Major > Fix For: 1.14.0 > > > Recovery from savepoint already works: > * changelog off -> on: FLINK-23278 > * changelog on -> off: directly calling > {{underlyingBackend.}}{{savepoint}}{{()}} (instead of {{writer.persist()}}) > For checkpoints, changelog on -> off doesn't work. Regular state backend will > receive materialized and non-aterialized state on recovery. To support it, > state changes have to be applied on recovery even if changelog backend is > disabled. -- This message was sent by Atlassian Jira (v8.3.4#803005)