You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/10/18 05:47:19 UTC

[GitHub] [dubbo] yzlxlf opened a new issue, #10759: dubbo版本升级后,weight值修改问题

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

   consumer 版本alibaba dubbo 2.6.2
   
   provider apache dubbo 2.7.15
   
   loabbalance为:roundrobin
   
   两个节点,两个节点权重都是默认的100
   
   操作:修改zk中dubbo的providers中的某一个url中weight的值为0
   
   现象:weight值被设置成0的节点仍有少量dubbo请求进入,估算为未设置时的1/50的流量
   
   请问这个是啥原因


-- 
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: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #10759: dubbo版本升级后,weight值修改问题

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #10759:
URL: https://github.com/apache/dubbo/issues/10759#issuecomment-1283337985

   修改后注册中心都推送完毕了吗,可以consumer版本独立部署看下是哪个版本有问题


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] yzlxlf commented on issue #10759: dubbo版本升级后,weight值修改问题

Posted by GitBox <gi...@apache.org>.
yzlxlf commented on issue #10759:
URL: https://github.com/apache/dubbo/issues/10759#issuecomment-1286574842

   不好意思,问题已经得到解决
   1、问题描述有误,实际我们修改的是configurators的url的override的节点的weight=0
   2、出现2.7.15版本的流量无法摘除的原因是,版本2.7.15代码中解析url信息是解析encode 的url,如果写入节点中的是decode 的url,则2.7.15版本无法解析,而2.6.2版本,是先做decode,然后解析decode后的url,所以,2.7.15版本解析失败,导致weight=0解析失败,故流量无法摘除


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org