sunxi92 commented on issue #2817:
URL: https://github.com/apache/rocketmq/issues/2817#issuecomment-820899156


   two problems:
   (1)when broker receives namesrv's response, there is no need to decode the 
body of the response
   (2) in the reponse that the namesrv returns, changed will not be null, it's 
true or false 
   
![image](https://user-images.githubusercontent.com/25401190/114971421-db8ed080-9eae-11eb-861f-f17bca4441ea.png)
   
   Since the changedList only obatain the value of Boolean.TRUE, so we only 
judge whether the size of changedList is greater than 0 instead of loop the list
   
![image](https://user-images.githubusercontent.com/25401190/114971892-e1d17c80-9eaf-11eb-96b2-a97ccbe3d2d5.png)
   
   
   


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