zhijiangW commented on a change in pull request #11687:
URL: https://github.com/apache/flink/pull/11687#discussion_r419521605
##########
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:
it is out of date and i can not find this code path now?
----------------------------------------------------------------
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]