gaoyunhaii commented on a change in pull request #18068:
URL: https://github.com/apache/flink/pull/18068#discussion_r776589416
##########
File path:
flink-tests/src/test/java/org/apache/flink/test/checkpointing/RescalingITCase.java
##########
@@ -617,7 +617,6 @@ private static JobGraph createJobGraphWithOperatorState(
StreamExecutionEnvironment env =
StreamExecutionEnvironment.getExecutionEnvironment();
env.setParallelism(parallelism);
env.getConfig().setMaxParallelism(maxParallelism);
- env.enableCheckpointing(Long.MAX_VALUE);
Review comment:
Yes~ Currently we would waiting for the final checkpoint if the
checkpoint is enabled and skip waiting if the checkpoint is not enabled.
However, if the checkpoint is enabled but the interval is set to
Long.MAX_VALUE, the task would be blocked on wait for the final checkpoint,
which in fact will not happen.
For the long run, perhaps we might be able to optimize this situation by
skip the final checkpoint for non 2-pc operators:
https://issues.apache.org/jira/browse/FLINK-25383.
--
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]