You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/04/11 09:45:04 UTC

[GitHub] [rocketmq] ni-ze commented on issue #4142: RemotingCommand is not thread-safe

ni-ze commented on issue #4142:
URL: https://github.com/apache/rocketmq/issues/4142#issuecomment-1094827468

   IMO,   there is no problem,  use synchronized just protect HaspMap.put. In your case, one thread get data which update by another is correct, it just get the latest value.


-- 
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: dev-unsubscribe@rocketmq.apache.org

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