Github user NicoK commented on a diff in the pull request:
https://github.com/apache/flink/pull/4509#discussion_r141896356
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/RemoteInputChannel.java
---
@@ -412,23 +468,35 @@ public void onBuffer(Buffer buffer, int
sequenceNumber) {
}
}
}
+
+ if (success && backlog > 0) {
--- End diff --
Shouldn't we call this for `success && backlog >= 0` to try to always have
`initialCredit` (extra) buffers available (if there are enough buffers)?
---