zhijiangW commented on a change in pull request #11351: [FLINK-16404][runtime] 
Solve the potential deadlock problem when reducing exclusive buffers to zero
URL: https://github.com/apache/flink/pull/11351#discussion_r397605870
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/RemoteInputChannel.java
 ##########
 @@ -397,6 +409,17 @@ public void notifyBufferDestroyed() {
                // Nothing to do actually.
        }
 
+       @Override
+       public void onExactlyOnceCheckpointCompletedOrCanceled(long 
checkpointId) {
+               synchronized (bufferQueue) {
 
 Review comment:
   why need to synchronized `bufferQueue`?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to