wqliang commented on issue #2090:
URL: https://github.com/apache/rocketmq/issues/2090#issuecomment-653734646


   
提供一个思路,client和broker更新namesrv地址列表分开两个接口管理,并且client接口返回的列表是broker接口返回的列表的子集。有namesrv变更时,先更新client接口的返回,等2个周期(client查询接口的周期)后在更新broker接口的值,使得过程平滑。同理,上线新namesrv实例顺序则是反过来,先加到broker列表里,带broker都上报过心跳后,在加到client列表里。


----------------------------------------------------------------
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:
[email protected]


Reply via email to