zhijiangW commented on a change in pull request #11687:
URL: https://github.com/apache/flink/pull/11687#discussion_r419494982



##########
File path: 
flink-tests/src/test/java/org/apache/flink/test/streaming/runtime/BackPressureITCase.java
##########
@@ -94,7 +94,7 @@ private static Configuration 
createNetworkBufferConfiguration() {
                final Configuration configuration = new Configuration();
 
                final int memorySegmentSizeKb = 32;
-               final MemorySize networkBuffersMemory = 
MemorySize.parse(memorySegmentSizeKb * (NUM_TASKS + 2) + "kb");
+               final MemorySize networkBuffersMemory = 
MemorySize.parse(memorySegmentSizeKb * 6 + "kb");

Review comment:
       In previous way the `LocalBufferPool` for `SingleInputGate` has 0 
required buffers, but now we adjust it to guarantee at-least one required 
buffer for local channel state recovery.
   
   In this ITCase,  the exclusive buffers for map and sink vertex should be `2 
* 2` , and the floating buffers in `LocalBufferPool` should be `2 * 1`, then 
the total minimum buffer amount should be `6`.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to