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

Consistent hash load balancing settings prioritizes dependent subsets. #235

Merged
merged 5 commits into from
Jun 2, 2022
Merged

Conversation

panniyuyu
Copy link
Contributor

@panniyuyu panniyuyu commented May 31, 2022

I found that consistent hash lb must set in dr.spec.trafficPolicy. I think we should align with istio. Consistent hash load balancing settings prioritizes dependent subsets.

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added related test cases?
  • Have you modified the related document?
  • Is this PR backward compatible?

@mergify mergify bot requested a review from zhaohuabing May 31, 2022 08:09
Copy link
Member

@zhaohuabing zhaohuabing left a comment

Choose a reason for hiding this comment

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

@panniyuyu This PR is great. Unfortunately, we don't have an e2e test for consistent hash to verify the PR through github actions.

Have you tested the hash policy for subset locally?

@panniyuyu
Copy link
Contributor Author

Member

@panniyuyu This PR is great. Unfortunately, we don't have an e2e test for consistent hash to verify the PR through github actions.

Have you tested the hash policy for subset locally?

locally, i make a demo by http route and compare the envoy config dump of http route and meta-protocol. And I make some dubbo requests to test, the result is as expected. I will add some e2e tests these days

@zhaohuabing
Copy link
Member

LGTM

@mergify mergify bot merged commit 393abcd into aeraki-mesh:master Jun 2, 2022
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.

2 participants