zhuzhurk commented on a change in pull request #13958:
URL: https://github.com/apache/flink/pull/13958#discussion_r519133383



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adapter/DefaultExecutionTopology.java
##########
@@ -201,4 +195,32 @@ private static void connectVerticesToConsumedPartitions(
                        }
                }
        }
+
+       /**
+        * Co-location constraints are only used for iteration head and tail.
+        * A paired head and tail needs to be in the same pipelined region so
+        * that they can be restarted together.
+        */
+       private void ensureCoLocatedVerticesInSameRegion() {
+               final Map<CoLocationConstraint, 
DefaultSchedulingPipelinedRegion> constraintToRegion = new IdentityHashMap<>();

Review comment:
       done.




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to