-
Notifications
You must be signed in to change notification settings - Fork 423
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
后端3个实例设置都超时15s,重试后成功返回预期应该返回超时 #721
Comments
这个的意思是后端sleep 15秒才会返回? |
可以看下日志里的 duration 字段,可以知道当前请求处理时间总共耗了多久 |
是 |
|
执行下 |
https://github.com/envoyproxy/envoy/blob/v1.20.7/source/common/router/router.cc#L876-L886 这是envoy的逻辑,route里的timeout和每次重试的per try timeout是独立的timer,理论上配置了route的timeout,超过这个时间请求就结束了,不会再重试,如果还会重试可能是bug,我后面有空复现看下 |
Ⅰ. Issue Description
后端3个实例设置都超时15s,重试后成功返回预期应该返回超时
Ⅱ. Describe what happened
ingress配置
The text was updated successfully, but these errors were encountered: