reswqa commented on code in PR #20739: URL: https://github.com/apache/flink/pull/20739#discussion_r969117632
########## flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/strategy/PipelinedRegionSchedulingStrategy.java: ########## @@ -301,10 +335,12 @@ private boolean isDownstreamConsumedPartitionGroupSchedulable( private boolean isDownstreamOfCrossRegionConsumedPartitionSchedulable( final ConsumedPartitionGroup consumedPartitionGroup, - final SchedulingPipelinedRegion pipelinedRegion) { + final SchedulingPipelinedRegion pipelinedRegion, + final Set<SchedulingPipelinedRegion> regionToSchedule) { if (consumedPartitionGroup.getResultPartitionType().canBePipelinedConsumed()) { for (IntermediateResultPartitionID partitionId : consumedPartitionGroup) { if (isExternalConsumedPartition(partitionId, pipelinedRegion) + && !regionToSchedule.contains(getProducerRegion(partitionId)) 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. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org