1996fanrui commented on code in PR #27440:
URL: https://github.com/apache/flink/pull/27440#discussion_r2727072977


##########
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/AdaptiveScheduler.java:
##########
@@ -1137,10 +1137,8 @@ public boolean hasSufficientResources() {
     private JobAllocationsInformation 
getJobAllocationsInformationFromGraphAndState(
             @Nullable final ExecutionGraph previousExecutionGraph) {
 
-        CompletedCheckpoint latestCompletedCheckpoint = null;
-        if (jobGraph.isCheckpointingEnabled()) {
-            latestCompletedCheckpoint = 
completedCheckpointStore.getLatestCheckpoint();
-        }

Review Comment:
   Thanks @rkhachatryan for looking into. May I know is there any risk for 
production jobs?



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