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

upstream/extension: pass degraded load to plugins #5628

Merged
merged 5 commits into from
Jan 18, 2019

Conversation

snowp
Copy link
Contributor

@snowp snowp commented Jan 16, 2019

Changes the interface of the retry priority plugin and updates the
previous_priorities plugin to account for degraded hosts.

The plugin will ignore both healthy and degraded hosts for an attempted
priority, to retain the idea that we're excluding the entire priority
after it's been attempted.

Signed-off-by: Snow Pettersen snowp@squareup.com

Risk Level: Medium, modifies existing plugin
Testing: UTs for healthy/degraded spillover behavior
Docs Changes: n/a
Release Notes: n/a

#5063

snowp added 5 commits January 16, 2019 09:18
…ugin

Changes the interface of the retry priority plugin and updates the
previous_priorities plugin to account for degraded hosts.

The plugin will ignore both healthy and degraded hosts for an attempted
priority, to retain the idea that we're excluding the entire priority
after it's been attempted.

Signed-off-by: Snow Pettersen <snowp@squareup.com>
Signed-off-by: Snow Pettersen <snowp@squareup.com>
Signed-off-by: Snow Pettersen <snowp@squareup.com>
Signed-off-by: Snow Pettersen <snowp@squareup.com>
Signed-off-by: Snow Pettersen <snowp@squareup.com>
zuercher
zuercher previously approved these changes Jan 17, 2019
Copy link
Member

@zuercher zuercher left a comment

Choose a reason for hiding this comment

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

This looks good to me, but I think it's worth having @mattklein123 take a look too.

@snowp
Copy link
Contributor Author

snowp commented Jan 18, 2019

Ignore the accidental force push :(

@mattklein123 mattklein123 merged commit 906fd22 into envoyproxy:master Jan 18, 2019
fredlas pushed a commit to fredlas/envoy that referenced this pull request Mar 5, 2019
Changes the interface of the retry priority plugin and updates the
previous_priorities plugin to account for degraded hosts.

The plugin will ignore both healthy and degraded hosts for an attempted
priority, to retain the idea that we're excluding the entire priority
after it's been attempted.

Signed-off-by: Snow Pettersen <snowp@squareup.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
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.

3 participants