-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
路由规则权重weight=100的疑问 #1348
Comments
目前的逻辑是如果当前路由获取的实例为空时: |
目前的逻辑是如果当前路由获取的实例为空时: 权重设置等于100,下游没有实例,返回空,个人觉得这样才更合理些 |
很多时候灰度只是控制流量的执行方向,但是还是要优先保证请求的正常执行,您可以简单描述下灰度实例不存在返回空实例的场景,我们看看在灰度返回实例的地方加开关控制 |
spring-cloud-huawei 1.11.9-2021.0.x 支持emptyProtection开关设置,控制返回空实例或者全部实例 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
调用下游服务时,规则匹配到,当weight=100时,下游无version=0.0.2的服务节点,应该是返回空,而不是返回其他节点
The text was updated successfully, but these errors were encountered: