-
Notifications
You must be signed in to change notification settings - Fork 216
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
Update retry docs. #1708
Conversation
There was a problem hiding this 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)
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. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent point. 🙂
There was a problem hiding this 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]>
Signed-off-by: Flynn <[email protected]>
114c769
to
17538b1
Compare
There was a problem hiding this 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
Signed-off-by: Flynn <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great!
Fixes #1694
Signed-off-by: Flynn [email protected]