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

Server weight zero #3130

Merged
merged 7 commits into from
Apr 11, 2018
Merged

Server weight zero #3130

merged 7 commits into from
Apr 11, 2018

Conversation

ldez
Copy link
Contributor

@ldez ldez commented Apr 4, 2018

What does this PR do?

Currently, a server with a weight of 0 continue to receive calls: it's because if a server have a weight of 0 the real weight is 1.

These PR change this behavior:

  • a server with a weight of 0 will have a real weight of 0.
  • if a server have a weight of 0, the server will be removed from the available servers.

Motivation

Fixes #1294

More

  • Added/updated tests

Additional Notes

Related to vulcand/oxy#121, containous/oxy#18, #1780

Copy link
Contributor

@timoreimann timoreimann left a comment

Choose a reason for hiding this comment

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

Nice, been looking forward to this one. 👍

@ldez ldez force-pushed the refactor/weight-zero branch from 3995df4 to e183260 Compare April 6, 2018 15:53
@yue9944882
Copy link
Contributor

Looking forward to this one too!

@ldez ldez force-pushed the refactor/weight-zero branch 2 times, most recently from 72e466f to 7dbe33e Compare April 11, 2018 12:28
@ldez ldez removed the bot/no-merge label Apr 11, 2018
Copy link
Collaborator

@SantoDE SantoDE left a comment

Choose a reason for hiding this comment

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

LGTM 👼 This will be useful once its merged! :)

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

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

LGTM 👏

@traefiker traefiker force-pushed the refactor/weight-zero branch from 21ae912 to 1183653 Compare April 11, 2018 14:12
@traefiker traefiker merged commit 8168d2f into traefik:v1.6 Apr 11, 2018
@ldez ldez deleted the refactor/weight-zero branch April 11, 2018 14:30
@kachkaev

This comment has been minimized.

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

Successfully merging this pull request may close these issues.

7 participants