Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dubbo3.0.1有BUG!!!!!!!!!!!!@DubboService(loadbalance = LoadbalanceRules.ROUND_ROBIN, weight = x)权重无效 #8485

Closed
startjava opened this issue Aug 12, 2021 · 1 comment

Comments

@startjava
Copy link

我在服务端分别使用:
@bean
@DubboService(loadbalance = LoadbalanceRules.ROUND_ROBIN, weight = 5)
public HelloService2 getHelloService2() {
return new HelloService2();
}
启动提供者1。

@Bean
@DubboService(loadbalance = LoadbalanceRules.ROUND_ROBIN, weight = 3)
public HelloService2 getHelloService2() {
    return new HelloService2();
}

启动提供者2。

@Bean
@DubboService(loadbalance = LoadbalanceRules.ROUND_ROBIN, weight = 2)
public HelloService2 getHelloService2() {
    return new HelloService2();
}

启动提供者3。

消费者根本不会按着权重比进行调用。

是否还是:
#8426
bug的延续,也就是服务端的参数并没有传递给客户端??

哎,dubbo3全是BUG。

@startjava
Copy link
Author

@DubboService(loadbalance = LoadbalanceRules.ROUND_ROBIN, weight = 2)
属性weight只在服务端有这个属 性,在@DubboReference中没有此属性,如果服务端配置不能传递给客户端,这就是典型的BUG。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant