zhuzhurk commented on code in PR #23408:
URL: https://github.com/apache/flink/pull/23408#discussion_r1374369701
##########
flink-clients/src/main/java/org/apache/flink/client/program/StreamContextEnvironment.java:
##########
@@ -303,6 +303,7 @@ private void checkMainConfiguration(Configuration
clusterConfigMap, List<String>
private void checkCheckpointConfig(Configuration clusterConfigMap,
List<String> errors) {
CheckpointConfig expectedCheckpointConfig = new CheckpointConfig();
expectedCheckpointConfig.configure(clusterConfigMap);
+ configureCheckpointStorage(clusterConfigMap, expectedCheckpointConfig);
Review Comment:
The created `CheckpointStorage` may not be equal to the actual
`CheckpointStorage` if the `equals()` method is not implemented, in which case
it will compare if they are the same java instance.
How about to avoid doing this, but instead set `state.checkpoint-storage` if
`CheckpointConfig#setCheckpointStorage(...)` is invoked.
--
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]