Github user zhijiangW commented on the issue: https://github.com/apache/flink/pull/4485 For `ResultPartitionType` comment, I expand to add the 'isCreditBased' field temporarily in order not to affect the current process. My initial idea is to remove this field after the whole feature is verified to enable. If you approve this as a formal way, I will add the new mode `PIPELINE_CREDIT_BASED(true, true, true, true)` and javadoc for it. For `gate.setBufferPool(bufferPool)`, it is my carelessness to not add it. For releasing segments when exception, it is actually better to process inside the method of `NetworkBufferPool`. I will submit the modifications later today.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---