WencongLiu commented on code in PR #23000:
URL: https://github.com/apache/flink/pull/23000#discussion_r1321042128


##########
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/SingleInputGate.java:
##########
@@ -1014,7 +1014,7 @@ public void resumeConsumption(InputChannelInfo 
channelInfo) throws IOException {
     @Override
     public void acknowledgeAllRecordsProcessed(InputChannelInfo channelInfo) 
throws IOException {
         checkState(!isFinished(), "InputGate already finished.");
-        if (!enabledTieredStorage()) {
+        if 
(consumedPartitionType.isPipelinedOrPipelinedBoundedResultPartition()) {

Review Comment:
   Why the `SingleInputGate` only needs to acknowledge that all records are 
processed when the partition type is pipelined?



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