soulbird commented on issue #7604:
URL: https://github.com/apache/apisix/issues/7604#issuecomment-1204784474

   > > I would like to know in what scenario support for route level upstream 
retries is needed.
   > > After all, retries are upstream oriented.
   > 
   > 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
   
   It looks like you want to decide whether to retry or not based on the 
response from the previous request. Unfortunately, it cannot be achieved by 
developing custom plugins, because the balancer's hook is not exported to the 
plugin.


-- 
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]

Reply via email to