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 2020/05/14 11:40:59 UTC

[GitHub] [rocketmq] RongtongJin commented on issue #1989: namesrv not unregister broker when update BrokerName with mqadmin updateBrokerConfig command

RongtongJin commented on issue #1989:
URL: https://github.com/apache/rocketmq/issues/1989#issuecomment-628577356


   > > Can you describe your issue in more detail? I can not understand it.
   > 
   > 是这样的。
   > 原先这个mq cluster有两个broker,一主一从,broker-a, broker-a-1
   > 
   > 我用 mqadmin updateBrokerConfig -bxxxxx -k brokerName -vbroker-a 修改了从节点 Broker的名称。
   > 
   > 然后,我发现rocketmq-console的cluster页面上有三个broker,分别为broker-a,broker-a,broker-a-1,其中两个的broker addr是一样的。
   > 
   > 我用arthas工具看了下RouteInfoManager#getAllClusterInfo的结果,发现clusterAddrTable变量mqcluster对应了三个broker
   
   确实存在这样的问题。更改brokerName之后,RouteInfoManager之前的brokerName信息并没有删除。欢迎提交PR来解决这个问题,比如可以通过ip:port来删除旧信息。


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

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