zhijiangW commented on a change in pull request #10375: [FLINK-14845][runtime]
Introduce data compression to reduce disk and network IO of shuffle.
URL: https://github.com/apache/flink/pull/10375#discussion_r353538169
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/CreditBasedPartitionRequestClientHandler.java
##########
@@ -306,6 +306,7 @@ private void decodeBufferOrEvent(RemoteInputChannel
inputChannel, NettyMessage.B
Buffer buffer = inputChannel.requestBuffer();
if (buffer != null) {
nettyBuffer.readBytes(buffer.asByteBuf(), receivedSize);
+
buffer.setCompressed(bufferOrEvent.isCompressed);
Review comment:
we can avoid this via
https://github.com/apache/flink/pull/10375/commits/2f538ab20262fbe9981d4851b93e9bee04fc6ad0#r353537910
----------------------------------------------------------------
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