Skip to content

dubbo2.7.5多注册中心负载,可能使用错误的weight参数 #5684

@brucelwl

Description

@brucelwl

Environment

  • Dubbo version: 2.7.5
  • Operating System version: win10
  • Java version: 1.8

Steps to reproduce this issue

1、多个注册中心集群时,注册中心选择负载策略和 服务负载策略使用的同一个RandomLoadBalance,
但是关于Weight参数的选用也是用的同一个,
2、如果在服务provider端设置了 服务权重weight参数,在多注册中心之间负载使用的 weight 同样使用的是 服务provider端的值。这是不合理的。
3、建议将多注册中心间的负载和服务负载分开

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions