pnowojski commented on a change in pull request #11687:
URL: https://github.com/apache/flink/pull/11687#discussion_r419942325



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/RemoteInputChannel.java
##########
@@ -371,7 +373,14 @@ boolean isWaitingForFloatingBuffers() {
 
        @VisibleForTesting
        public Buffer getNextReceivedBuffer() {
-               return receivedBuffers.poll();
+               synchronized (receivedBuffers) {
+                       return receivedBuffers.poll();
+               }

Review comment:
       I think it's in a separate commit now 
`org.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannel#getNumberOfQueuedBuffers`




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