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

add retry host predicate api #3432

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ramaraochavali
Copy link
Contributor

We removed retry host predicate via this PR istio/istio@3727b57 to fix a bug that is breaking consistent hash on retry. But there are some use cases which rely on this behaviour. So this PR is to propose an API for it with default to current behaviour and people can change if needed. This is similar to other retry plugin i.e. retryRemoteLocaliities.

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
@ramaraochavali ramaraochavali requested a review from a team as a code owner February 4, 2025 14:56
@istio-policy-bot
Copy link

🤔 🐛 You appear to be fixing a bug in Go code, yet your PR doesn't include updates to any test files. Did you forget to add a test?

Courtesy of your friendly test nag.

@istio-testing istio-testing added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 4, 2025
@istio-testing
Copy link
Collaborator

@ramaraochavali: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
release-notes_api 9dcbdd1 link false /test release-notes

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.


// Flag to specify whether the retries should ignore previously tried hosts during retry.
// Defaults to true.
google.protobuf.BoolValue retry_ignore_previous_hosts = 5;
Copy link
Member

Choose a reason for hiding this comment

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

how about retry_previous_hosts, and make it false by default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants