zhuzhurk commented on code in PR #20322:
URL: https://github.com/apache/flink/pull/20322#discussion_r928536012


##########
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/SpeculativeExecutionVertex.java:
##########
@@ -46,6 +48,8 @@ public class SpeculativeExecutionVertex extends 
ExecutionVertex {
 
     private int originalAttemptNumber;
 
+    final Map<Integer, Integer> nextInputSplitIndexToConsumeByAttempts;

Review Comment:
   Good catch! We should do it to avoid leaks. 
   And it's also better to remove the attempt from 
`nextInputSplitIndexToConsumeByAttempts` in `archiveFailedExecution`. 
   I will make these two changes.



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