NicoK commented on a change in pull request #5381: [FLINK-8523][network] Stop
assigning floating buffers for blocked input channels in exactly-once mode
URL: https://github.com/apache/flink/pull/5381#discussion_r205579424
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/UnionInputGate.java
##########
@@ -82,30 +82,40 @@
*/
private final Map<InputGate, Integer> inputGateToIndexOffsetMap;
+ /** A mapping from logical channel index (internal channel index in
input gate plus gate's offset) to input gate. */
+ private final Map<Integer, InputGate> indexToInputGateMap;
Review comment:
Similar to the `SingleInputGate`: use an array, rename member
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services