-
Notifications
You must be signed in to change notification settings - Fork 826
JAV-479 Optimize loadbalance #249
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
Conversation
…anged URL cause vertx found wrong failureHandler solution:changed URL only saved in VertxServerRequestToHttpServletRequest, not save to HttpServerRequest
Changes Unknown when pulling 37783dd on wujimin:optimize-loadbalance into ** on ServiceComb:master**. |
Changes Unknown when pulling c6ae907 on wujimin:optimize-loadbalance into ** on ServiceComb:master**. |
|
||
loadBalancer.chooseServer(key); | ||
loadBalancer.getAllServers(); | ||
loadBalancer.getServerList(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did we call the getServerList twice which different parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no reason......
this is netflix interface, but we did not use it's input parameter.
so getServerList(true) equals getServerList(false), and equals getAllServers()
i found that did not cover getServerList, so add these two invocation.
big bug, do not merge |
details is in https://servicecomb.atlassian.net/browse/JAV-479
in this issue, create new filter mechanism, old filters will rewrite in new Filter later.