zhijiang created FLINK-11750: -------------------------------- Summary: Refactor the creation of ResultPartitionID in IntermediateResultPartition Key: FLINK-11750 URL: https://issues.apache.org/jira/browse/FLINK-11750 Project: Flink Issue Type: Sub-task Components: Network Reporter: zhijiang Assignee: zhijiang Fix For: 1.9.0
The motivation of task is for preparing the creation of {{ResultPartition}} via {{ShuffleService}} future. Currently during the creation of {{ResultPartition}} we need the {{ExecutionAttemptID}} info to generate {{ResultPartitionID}}. To make the interface of {{ShuffleService#createResultPartitionWriter}} clean, it is better to get {{ResultPartitionID}} directly from {{ResultPartitionDeploymentDescriptor}} instead of explicitly passing additional {{ExecutionAttemptID}}. We could create this {{ResultPartitionID}} in the constructor of {{IntermediateResultPartition}}, then it can be got directly by other classes to avoid repeatedly creation anywhere. Meanwhile this change would simply the related codes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)