curcur commented on a change in pull request #15420: URL: https://github.com/apache/flink/pull/15420#discussion_r654946468
########## File path: flink-state-backends/flink-statebackend-changelog/src/main/java/org/apache/flink/state/changelog/ChangelogKeyedStateBackend.java ########## @@ -114,13 +128,33 @@ private final StateChangelogWriter<?> stateChangelogWriter; + private long lastCheckpointId = -1L; + /** last accessed partitioned state. */ @SuppressWarnings("rawtypes") private InternalKvState lastState; /** For caching the last accessed partitioned state. */ private String lastName; + /** Updated initially on restore and later upon materialization (after FLINK-21356). */ + private final List<KeyedStateHandle> materialized = new ArrayList<>(); Review comment: this should be changeable right, after each time after materialization finishes. remove final? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org