Stephan Ewen created FLINK-19087:
------------------------------------
Summary: ReaultPartitionWriter should not expose subpartition but only subpartition-readers
Key: FLINK-19087
URL:
https://issues.apache.org/jira/browse/FLINK-19087 Project: Flink
Issue Type: Sub-task
Components: Runtime / Network
Reporter: Stephan Ewen
Assignee: Stephan Ewen
Fix For: 1.12.0
The {{ResultPartitionWiter}} currently gives arbitrary access to the sub-partitions.
These subpartitions may not always exist directly, such as in a sort based shuffle.
Necessary is only the access to a reader over a sub-partition's data (the ResultSubpartitionView).
In the spirit of minimal scope of knowledge, the methods should be scoped to return readers, not the more general subpartitions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)