zhanxuefeng opened a new issue, #4265:
URL: https://github.com/apache/rocketmq/issues/4265

   The tls is enabled in my rocketmq cluster.
   The QueryMsgTraceById throw a MQClientException(Code: 208, DESC: query 
message by key finished, but no message), in fact, the message I queried has a 
sub trace and a pub trace.
   
   I notice that the QueryMessageTransfer calcute the transferred bytes depends 
on the return value of target.write method, but the target object defined in 
FileRegionEncoder return the wrong value, ByteBuffer's capacity is always 
greater than it's readable bytes, which may cause some bytes in 
QueryMessageTransfer not read to the ByteBuf in FileRegionEncoder, so 
super.decode in NettyDecoder get the wrong bytes.


-- 
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]

Reply via email to