sadlay opened a new issue, #11874:
URL: https://github.com/apache/dubbo/issues/11874

   <!-- If you need to report a security issue please visit 
https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) 
of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.1.1
   * Operating System version: MacOS
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   
   1. 动态配置
   
      ```yaml
      configVersion: v3.1
      scope: service
      key: cn.sadlay.dubbo.apple.api.AppleService
      enabled: true
      configs:
      - addresses: [0.0.0.0]
        side: consumer
        parameters:
          loadbalance: consistenthash
      ```
   
   2. 重启 **Consumer**
   
   3. 调用 **AppleService**,还是使用默认的轮训策略 **RandomLoadBalance** 
   
   4. 更新动态配置(添加换行,不更新具体内容), **ConsistentHashLoadBalance** 生效
   
   ### Expected Behavior
   
   重启后服务调用使用 **ConsistentHashLoadBalance** 负载均衡策略
   
   ### Actual Behavior
   
   重启后服务调用使用默认 **RandomLoadBalance** 负载均衡策略,动态配置失效
   


-- 
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