akalash commented on a change in pull request #17716:
URL: https://github.com/apache/flink/pull/17716#discussion_r746375023



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/bufferdebloat/BufferDebloater.java
##########
@@ -96,7 +96,9 @@ public void recalculateBufferSize(long currentThroughput) {
 
         lastBufferSize = newSize;
         for (IndexedInputGate inputGate : inputGates) {
-            inputGate.announceBufferSize(newSize);
+            if (!inputGate.isFinished()) {

Review comment:
       We check for `released`(for channels) inside of 
`inputGate#announceBufferSize` which is enough for this backport.




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to