zrlw commented on issue #9574:
URL: https://github.com/apache/dubbo/issues/9574#issuecomment-1013664480


   #9546 
这个问题也和AbstractLoadBalance的getWeight方法相关,这个方法的第一个入参invoker的类型难道不都是ClusterInvoker类型(我debug跟踪了几个测试类都是MigrationInvoker)?如果都是ClusterInvoker类型,那么这个方法从ClusterInvoker.getRegistryUrl返回的url直接取权重就好了,不用那么多分支判断了吧。


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to