Skip to content
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

修复router中发现的bug #933

Merged
merged 1 commit into from
Nov 30, 2020
Merged

Conversation

ichiro999
Copy link
Collaborator

#930
1.修复当一个服务配置了多个优先级的分发策略情况下,第一个匹配的优先级下的分发策略就会被当做这个服务其他优先级的分发策略,这样当满足其他优先级的请求就会导致该优先级下的分发策略失效。
2.修复当一个优先配置了权重为0的tag,则第一个满足这个优先级的第一个请求就会返回权重为0的tag
3.增加单元测试

1. 多个优先级下的分发策略失效
2. 在配置了权重为0的分发策略时,第一次请求一定返回权重为0的tag
Copy link
Member

@tianxiaoliang tianxiaoliang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感谢贡献

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants