pnowojski commented on code in PR #27861:
URL: https://github.com/apache/flink/pull/27861#discussion_r3026911948


##########
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/PipelinedSubpartition.java:
##########
@@ -456,7 +457,9 @@ public void release() {
     @Nullable
     BufferAndBacklog pollBuffer() {
         synchronized (buffers) {
-            if (isBlocked) {
+            // When blocked, only allow priority buffers (e.g. unaligned 
checkpoint barriers)
+            // to be polled. Data buffers remain blocked until 
resumeConsumption() is called.
+            if (isBlocked && buffers.getNumPriorityElements() == 0) {

Review Comment:
   Could you copy/paste this explanation into the commit message as well?



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