Bughue commented on code in PR #7250:
URL: https://github.com/apache/incubator-seata/pull/7250#discussion_r2018282874


##########
core/src/main/java/org/apache/seata/core/rpc/netty/MultiProtocolDecoder.java:
##########
@@ -109,7 +109,13 @@ protected Object decode(ChannelHandlerContext ctx, ByteBuf 
in) throws Exception
             if (decoded instanceof ByteBuf) {
                 frame = (ByteBuf) decoded;
                 ProtocolDecoder decoder = protocolDecoderMap.get(version);
+                if (decoder == null) {
+                    decoder = 
protocolDecoderMap.get(ProtocolConstants.VERSION);

Review Comment:
   done



-- 
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: notifications-unsubscr...@seata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to