curcur commented on a change in pull request #13648:
URL: https://github.com/apache/flink/pull/13648#discussion_r509213967
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/PipelinedSubpartition.java
##########
@@ -259,9 +260,10 @@ BufferAndBacklog pollBuffer() {
}
while (!buffers.isEmpty()) {
- BufferConsumer bufferConsumer =
buffers.peek().getBufferConsumer();
+ BufferConsumerWithPartialRecordLength
bufferConsumerWithPartialRecordLength = buffers.peek();
+ BufferConsumer bufferConsumer =
requireNonNull(bufferConsumerWithPartialRecordLength).getBufferConsumer();
Review comment:
I agree, let's just remove it.
----------------------------------------------------------------
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]