zhijiangW commented on a change in pull request #8416: [FLINK-12331] Introduce
partition/gate setup to decouple task registration with NetworkEnvironment
URL: https://github.com/apache/flink/pull/8416#discussion_r285005632
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/SingleInputGate.java
##########
@@ -297,37 +300,18 @@ public void setBufferPool(BufferPool bufferPool) {
/**
* Assign the exclusive buffers to all remote input channels directly
for credit-based mode.
- *
- * @param networkBufferPool The global pool to request and recycle
exclusive buffers
- * @param networkBuffersPerChannel The number of exclusive buffers for
each channel
*/
- public void assignExclusiveSegments(NetworkBufferPool
networkBufferPool, int networkBuffersPerChannel) throws IOException {
+ public void assignExclusiveSegments() throws IOException {
Review comment:
should add @VisibleForTesting in this method.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services