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

Update retry docs. #1708

Merged
merged 3 commits into from
Nov 20, 2023
Merged

Update retry docs. #1708

merged 3 commits into from
Nov 20, 2023

Conversation

kflynn
Copy link
Member

@kflynn kflynn commented Nov 13, 2023

Fixes #1694

Signed-off-by: Flynn [email protected]

@kflynn kflynn requested a review from hawkw November 13, 2023 22:52
Copy link
Contributor

@hawkw hawkw left a comment

Choose a reason for hiding this comment

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

overall, this looks good to me; i think that if we're updating the documentation to reflect that requests with bodies are retryable, we should document the length limit for retryable bodies (64KB; see https://github.com/linkerd/linkerd2-proxy/blob/e62cc28ffe59ba9d1906b04a6873bd95ef23a2f7/linkerd/app/outbound/src/http/retry.rs#L41-L42)

Comment on lines 50 to 52
Retries are supported for _all_ idempotent requests, whatever verb they use
and whether or not they have bodies. In particular, this means that gRPC
requests can be retried.
Copy link
Contributor

Choose a reason for hiding this comment

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

we should probably mention the body length limit here, though?

Copy link
Member Author

Choose a reason for hiding this comment

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

Excellent point. 🙂

Copy link
Member

@wmorgan wmorgan left a comment

Choose a reason for hiding this comment

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

ty

Fixes #1694

Signed-off-by: Flynn <[email protected]>
@kflynn kflynn force-pushed the flynn/dev/retry-docs branch from 114c769 to 17538b1 Compare November 20, 2023 19:36
@kflynn kflynn requested a review from hawkw November 20, 2023 19:36
Copy link
Contributor

@hawkw hawkw left a comment

Choose a reason for hiding this comment

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

lgtm, one last suggestion

linkerd.io/content/2.11/tasks/configuring-retries.md Outdated Show resolved Hide resolved
@kflynn kflynn requested a review from hawkw November 20, 2023 20:00
Copy link
Contributor

@hawkw hawkw left a comment

Choose a reason for hiding this comment

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

looks great!

@kflynn kflynn merged commit a611443 into main Nov 20, 2023
6 checks passed
@kflynn kflynn deleted the flynn/dev/retry-docs branch November 20, 2023 20:04
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.

Update "Configuring Retries" page for v2.11 changes
3 participants