You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2021/10/13 11:09:04 UTC

[GitHub] [incubator-brpc] Huixxi removed a comment on pull request #1571: Support wr/wrr policy degradation

Huixxi removed a comment on pull request #1571:
URL: https://github.com/apache/incubator-brpc/pull/1571#issuecomment-942187695


   有的,因为没有设置权重值的机器是不会加到机器列表当中的,也就无法提供服务,这样提供一个默认值,对与那些没有配置权重的机器也会得到一个默认的权值,从而也会被添加到服务机器列表中,wr/wrr的策略也就相应降级到了r/rr策略。
   
   On Wed, Oct 13, 2021 at 5:20 PM caidj ***@***.***> wrote:
   
   > ***@***.**** commented on this pull request.
   > ------------------------------
   >
   > In src/brpc/load_balancer.cpp
   > <https://github.com/apache/incubator-brpc/pull/1571#discussion_r727867696>
   > :
   >
   > > @@ -24,6 +24,7 @@
   >
   >  namespace brpc {
   >
   >
   >
   >  DEFINE_bool(show_lb_in_vars, false, "Describe LoadBalancers in vars");
   >
   > +DEFINE_bool(wlb_policy_degradation, false, "Weighted LoadBalancers policy degradation");
   >
   >
   > 是的。另外,看提交的代码,这里没有降级策略吧,就是要提供一个默认的权重值。
   >
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/incubator-brpc/pull/1571#discussion_r727867696>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AFCYYNLSSTXVTOXCM6ZMVQLUGVFO3ANCNFSM5E7HXVJQ>
   > .
   >
   


-- 
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: dev-unsubscribe@brpc.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org