Replies: 3 comments 1 reply
-
确实存在这种场景,由于 broker 定时向namesrv上报路由,namesrv重启或者刚上线时都有可能出现上述的case。 能否在namesrv进行优化,比如一个namesrv刚启动30s内不提供服务,对于客户端的请求全部拒绝,待30s后(路由全部注册)再响应请求,这样不需要推动客户端升级,比较省时省力。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
一般做这种操作前,系统先停机最好 |
Beta Was this translation helpful? Give feedback.
0 replies
-
先增加node3,2分钟后,再移除node1,按照这个顺序不会有问题的,因为默认客户端只跟一个ns节点通信,新增的节点对客户端没影响。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
背景
问题
原因
2023-10-11 11:01:29.839 INFO [] [Share_MQClientFactoryScheduledThread_1] RocketmqClient 100: the topic[dev%fake-topic] route info changed, old[TopicRouteData [orderTopicConf=null, queueDatas=[QueueData [brokerName=dev%dev, readQueueNums=4, writeQueueNums=4, perm=6, topicSysFlag=0]], brokerDatas=[BrokerData [brokerName=dev%dev, brokerAddrs={0=10.1.1.1:10911, 405=10.1.1.2:10911}]], filterServerTable={}]] ,new[TopicRouteData [orderTopicConf=null, queueDatas=[QueueData [brokerName=dev%dev, readQueueNums=4, writeQueueNums=4, perm=6, topicSysFlag=0]], brokerDatas=[BrokerData [brokerName=sz-sk%dev%dev, brokerAddrs={405=10.1.1.2:10911}]], filterServerTable={}]]
建议
考虑增强客户端Producer现有路由信息的推空保护能力
如果该建议被采纳,我会提交PR。
Beta Was this translation helpful? Give feedback.
All reactions