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



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/io/CheckpointBarrierUnaligner.java
##########
@@ -164,33 +158,32 @@ public void processBarrier(
                        hasInflightBuffers[channelIndex] = false;
                        numBarrierConsumed++;
                }
-               // processBarrier is called from task thread and can actually 
happen before notifyBarrierReceived on empty
-               // buffer queues
-               // to avoid replicating any logic, we simply call 
notifyBarrierReceived here as well

Review comment:
       It indeed provides a bit richer information than the javadoc of this 
method, and i can consider to retain it. 




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