tzssangglass commented on issue #7604: URL: https://github.com/apache/apisix/issues/7604#issuecomment-1204978921
> for automatically review the error request call, i want to support it for user by setting conditions in following scence: > > * Review conditions of the http protocol, when > > * 5xx,respones code > * if connect-close、connect-reset、connect-timeout、connect-failure > * refused code > * retriable-status-codes,means specified status code > * Review conditions of the grpc protocol, when status code in response header: > > * cancelled > * deadline-exceeded > * internal > * resource-exhausted > * unavailable IMO, this is not a reason to let retries by route be isolated. The purpose of retries is to find an available upstream, so the logic of retries should be generic, based on a common set of rules to decide whether to retry, e.g. timeout needs to be retried, but 404 response status actually does not need to be retried. What you said looks more like logic that can be customized to determine if a retry is needed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
