masteryhx commented on code in PR #19142:
URL: https://github.com/apache/flink/pull/19142#discussion_r853020326


##########
flink-state-backends/flink-statebackend-changelog/src/main/java/org/apache/flink/state/changelog/ChangelogStateBackend.java:
##########
@@ -302,4 +354,14 @@ private long getMaterializationID(KeyedStateHandle 
keyedStateHandle) {
             return 0L;
         }
     }
+
+    private Collection<ChangelogStateBackendHandle> reboundCheckpoint(
+            Collection<ChangelogStateBackendHandle> stateBackendHandles) {
+        return stateBackendHandles.stream()
+                .map(
+                        changelogStateBackendHandle ->
+                                changelogStateBackendHandle.rebound(
+                                        
changelogStateBackendHandle.getCheckpointId()))

Review Comment:
   Agree. I have added detailed comment.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to