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



##########
File path: 
flink-state-backends/flink-statebackend-changelog/src/main/java/org/apache/flink/state/changelog/ChangelogKeyedStateBackend.java
##########
@@ -124,6 +124,9 @@
      */
     private final HashMap<String, InternalKvState<K, ?, ?>> 
keyValueStatesByName;
 
+    /** Unwrapped changelog states used for recovery (not wrapped into e.g. 
TTL). */
+    private final HashMap<String, ChangelogState> changelogStates;

Review comment:
       I'm not sure it's safe to clear it as it can **potentially** be used 
later after recovery.
   Otherwise, it can be cleared in `completeRestore`.




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