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

feat: let balancer support priority #3755

Merged
merged 1 commit into from
Mar 10, 2021
Merged

Conversation

spacewander
Copy link
Member

Fix #1809
Signed-off-by: spacewander spacewanderlzx@gmail.com

What this PR does / why we need it:

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

Fix apache#1809
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
Copy link
Member

@membphis membphis left a comment

Choose a reason for hiding this comment

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

LGTM

{host = "39.97.63.215", port = 80, weight = 1},
{host = "39.97.63.216", port = 81, weight = 1},
{host = "39.97.63.217", port = 82, weight = 1},
{host = "39.97.63.215", port = 80, weight = 1, priority = 0},
Copy link
Member

Choose a reason for hiding this comment

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

the default value of priority is 0, so we can keep it not change, all right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes.

@spacewander spacewander merged commit 8dcbe4e into apache:master Mar 10, 2021
@spacewander spacewander deleted the pri branch March 10, 2021 06:56
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.

request help: Health Checks can support Backup server?
3 participants