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

tetra: Set default for retries to 1 #3335

Merged
merged 1 commit into from
Jan 24, 2025
Merged

tetra: Set default for retries to 1 #3335

merged 1 commit into from
Jan 24, 2025

Conversation

olsajiri
Copy link
Contributor

The grpc update to v1.70.0 and especially [1] requires retries to be > 1 in order to have a valid retry policy.

As we already do +1 later, let's set the default to 1.

[1] grpc/grpc-go#7905
Suggested-by: Anastasios Papagiannis [email protected]
Signed-off-by: Jiri Olsa [email protected]

The grpc update to v1.70.0 and especially [1] requires retries to be > 1
in order to have a valid retry policy.

As we already do +1 later, let's set the default to 1.

[1] grpc/grpc-go#7905
Suggested-by: Anastasios Papagiannis <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
@olsajiri olsajiri added the release-note/minor This PR introduces a minor user-visible change label Jan 24, 2025
Copy link
Contributor

@lambdanis lambdanis left a comment

Choose a reason for hiding this comment

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

With this change we could also revert 455458f? Not needed though.

Copy link
Member

@mtardy mtardy left a comment

Choose a reason for hiding this comment

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

thanks

@tpapagian
Copy link
Member

With this change we could also revert 455458f? Not needed though.

I believe that we still need that as in e2e tests we just call functions from tetra and not the binary itself. I will check that to be sure and revert that into f needed in a separate PR.

@olsajiri olsajiri marked this pull request as ready for review January 24, 2025 14:25
@olsajiri olsajiri requested a review from a team as a code owner January 24, 2025 14:25
@olsajiri olsajiri requested a review from tpapagian January 24, 2025 14:25
@olsajiri olsajiri changed the title tetra: Set default for reties to 1 tetra: Set default for retries to 1 Jan 24, 2025
@olsajiri olsajiri merged commit 9df054d into main Jan 24, 2025
41 of 42 checks passed
@olsajiri olsajiri deleted the pr/olsajiri/tetra branch January 24, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/minor This PR introduces a minor user-visible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants