Gucvii commented on code in PR #2868:
URL: https://github.com/apache/dubbo-go/pull/2868#discussion_r2084664551
##########
registry/nacos/service_discovery.go:
##########
@@ -66,9 +65,6 @@ type nacosServiceDiscovery struct {
// cache registry instances
registryInstances []registry.ServiceInstance
- // registryURL stores the URL used for registration, used to fetch
dynamic config like weight
Review Comment:
这个registryURL里面的权重是registry.WithWeight配置的,这个我翻阅了代码,初期应该是为了多注册中心,注册中心级别的负载均衡设计的,这块具体我还没有去了解,目前也没有提这方面pr的想法,就先把它删除了(在之前修复nacos权重显示的之前是没有这个变量的,而且这个权重从一开始设计上不是要填入集群中)
--
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]