Skip to content

Conversation

wujimin
Copy link
Contributor

@wujimin wujimin commented Nov 8, 2017

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.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 37783dd on wujimin:optimize-loadbalance into ** on ServiceComb:master**.

@wujimin wujimin changed the title Optimize loadbalance JAV-479 Optimize loadbalance Nov 8, 2017
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling c6ae907 on wujimin:optimize-loadbalance into ** on ServiceComb:master**.

@wujimin wujimin requested review from WillemJiang, liubao68 and seanyinx and removed request for liubao68 November 10, 2017 07:48

loadBalancer.chooseServer(key);
loadBalancer.getAllServers();
loadBalancer.getServerList(true);
Copy link
Member

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.

Copy link
Contributor Author

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.

@wujimin
Copy link
Contributor Author

wujimin commented Nov 10, 2017

big bug, do not merge

@wujimin wujimin closed this Nov 11, 2017
@wujimin wujimin deleted the optimize-loadbalance branch November 11, 2017 19:14
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.

4 participants