You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/01/11 11:21:04 UTC

[GitHub] [flink] wanglijie95 commented on a change in pull request #18050: [FLINK-25034][runtime] Support flexible number of subpartitions in IntermediateResultPartition

wanglijie95 commented on a change in pull request #18050:
URL: https://github.com/apache/flink/pull/18050#discussion_r782051397



##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/deployment/TaskDeploymentDescriptorFactory.java
##########
@@ -128,6 +130,12 @@ public TaskDeploymentDescriptor createDeploymentDescriptor(
 
             int numConsumers = resultPartition.getConsumerVertexGroups().get(0).size();
 
+            // sanity check. Number of consumers should be equal to number of subpartitions. This
+            // check can be removed iff it supports one consumer to consume multiple subpartitions.
+            checkState(

Review comment:
       I will remove it.




-- 
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-unsubscribe@flink.apache.org

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