1996fanrui commented on code in PR #27861:
URL: https://github.com/apache/flink/pull/27861#discussion_r3024976508
##########
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/LocalInputChannel.java:
##########
@@ -242,7 +247,63 @@ public Optional<BufferAndAvailability> getNextBuffer()
throws IOException {
checkError();
if (!toBeConsumedBuffers.isEmpty()) {
- return getBufferAndAvailability(toBeConsumedBuffers.removeFirst());
+ // If there is a pending priority event (e.g., unaligned
checkpoint barrier), fetch it
Review Comment:
Good finding, splitted.
--
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]