Myasuka commented on a change in pull request #16404:
URL: https://github.com/apache/flink/pull/16404#discussion_r665907840



##########
File path: 
flink-state-backends/flink-statebackend-changelog/src/main/java/org/apache/flink/state/changelog/ChangelogKeyedStateBackend.java
##########
@@ -533,7 +541,7 @@ public ChangelogState getExistingState(String name, 
BackendStateType type)
         ChangelogState state;
         switch (type) {
             case KEY_VALUE:
-                state = (ChangelogState) keyValueStatesByName.get(name);
+                state = changelogStates.get(name);

Review comment:
       For now, `getExistingState` would only be used during recovery, will it 
be used in other places?




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to