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/08/19 03:18:02 UTC

[GitHub] [rocketmq] MatrixHB opened a new issue, #4842: The concurrent methods in Admin tools have thread-safety problems

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

   Look at the method` DefaultMQAdminExtImpl#examineTopicStatsConcurrent`, multi threads put data into offsetTable concurrently, but the offsetTable is HashMap, which is not thread-safety. 
   ![image](https://user-images.githubusercontent.com/23614576/185535118-f3dfb663-a869-4a2e-9ac1-83c1a748e46b.png)
   
   The same problem also exists in `org.apache.rocketmq.common.admin.ConsumeStats`, `org.apache.rocketmq.common.protocol.body.TopicList`...
   


-- 
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.apache.org

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


[GitHub] [rocketmq] ShannonDing closed issue #4842: The concurrent methods in Admin tools have thread-safety problems

Posted by GitBox <gi...@apache.org>.
ShannonDing closed issue #4842: The concurrent methods in Admin tools have thread-safety problems
URL: https://github.com/apache/rocketmq/issues/4842


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