Closed jiaobuchong closed 2 years ago
@jiaobuchong 这个值是可以设置的,具体可以参考 https://www.sofastack.tech/projects/sofa-rpc/configuration-fault-tolerance/
阈值降到 0 之后怎么恢复呢?已经没有流量了
@jiaobuchong 降到0之后,就没办法恢复了。因为降级也是阶梯式的,如果该服务+ip维度的权重并没有降为0,那么当该服务+ip维度的调用情况正常时,则会对其进行权重恢复。自动故障剔除详细介绍,可以参考https://www.sofastack.tech/blog/sofa-rpc-single-machine-fault-culling/
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
1、看代码,对实例进行权重降级的时候不能降为 0 吧?因为当服务异常的时候,是希望可以直接将节点摘除的,自动故障剔除是不支持的吗? 2、现在的做法是权重降级最低是 1,然后等着有流量进来没有异常率就恢复,如果一直没流量进来,就不会恢复?
Originally posted by @jiaobuchong in https://github.com/sofastack/sofa-rpc/issues/84#issuecomment-1109580140