jerqi commented on code in PR #1455:
URL:
https://github.com/apache/incubator-uniffle/pull/1455#discussion_r1452911600
##########
common/src/main/java/org/apache/uniffle/common/netty/TransportFrameDecoder.java:
##########
@@ -80,13 +80,12 @@ public void channelRead(ChannelHandlerContext ctx, Object
data) {
}
}
- public static boolean shouldRelease(Message msg) {
+ static boolean shouldRelease(Message msg) {
+ if (msg == null || msg.body() == null) {
+ return true;
+ }
Review Comment:
if (msg.body().byteBuf() == null) {
return true;
}
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]