curcur commented on a change in pull request #16606:
URL: https://github.com/apache/flink/pull/16606#discussion_r687438816



##########
File path: 
flink-state-backends/flink-statebackend-changelog/src/main/java/org/apache/flink/state/changelog/ChangelogStateBackend.java
##########
@@ -222,8 +223,11 @@ public StateBackend configure(ReadableConfig config, 
ClassLoader classLoader)
                                 ttlTimeProvider,
                                 
changelogStorage.createWriter(operatorIdentifier, keyGroupRange),
                                 baseState,
+                                new AsyncExceptionHandler(env),
                                 env.getMainMailboxExecutor(),
-                                env.getAsyncOperationsThreadPool()));
+                                env.getAsyncOperationsThreadPool(),
+                                env.getCheckpointStorage()
+                                        
.createCheckpointStorage(env.getJobID())));

Review comment:
       After reading the code, I agree that we should follow the current 
contract that sharing the same `CheckpointStorageAccess`, so that the ownership 
still kept in `StreamTask`




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