[ 
https://issues.apache.org/jira/browse/FLINK-25465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yun Tang updated FLINK-25465:
-----------------------------
    Summary: Correct the logic of materizating wrapped changelog state  (was: 
Correct the logic to materizate on wrapped changelog state)

> Correct the logic of materizating wrapped changelog state
> ---------------------------------------------------------
>
>                 Key: FLINK-25465
>                 URL: https://issues.apache.org/jira/browse/FLINK-25465
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / State Backends
>            Reporter: Yun Tang
>            Assignee: Yun Tang
>            Priority: Major
>             Fix For: 1.15.0
>
>
> {{ChangelogKeyedStateBackend#keyValueStatesByName}} would store wrapped 
> state, such as TTL state or latency tracking state. It will throw exception 
> on initMaterialization if wrapped:
> {code:java}
> for (InternalKvState<K, ?, ?> changelogState : keyValueStatesByName.values()) 
> {
>                 checkState(changelogState instanceof ChangelogState);
>                 ((ChangelogState) changelogState).resetWritingMetaFlag();
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to