yunfengzhou-hub commented on code in PR #22931:
URL: https://github.com/apache/flink/pull/22931#discussion_r1279088716


##########
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/VertexEndOfDataListener.java:
##########
@@ -51,6 +51,12 @@ public void recordTaskEndOfData(ExecutionAttemptID 
executionAttemptID) {
         subtaskStatus.set(executionAttemptID.getSubtaskIndex());
     }
 
+    public boolean areAllTasksOfJobVertexEndOfData(JobVertexID jobVertexID) {
+        BitSet subtaskStatus = tasksReachedEndOfData.get(jobVertexID);
+        return subtaskStatus.cardinality()

Review Comment:
   This code path had been covered by 
CheckpointIntervalDuringBacklogITCase#testExcludeFinishedOperatorBacklogStatus, 
but it seems to be a flaky test where it depends on the order of vertices 
returned by Map#iterator whether exceptions would be thrown. I'll fix this bug 
anyway.



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