envoyproxy/envoy

conditional retry condition in retry policy

Open

#9,946 创建于 2020年2月6日

在 GitHub 查看
 (3 评论) (2 反应) (0 负责人)C++ (5,373 fork)batch import
area/retrydesign proposalhelp wanted

仓库指标

Star
 (27,997 star)
PR 合并指标
 (平均合并 8天) (30 天内合并 378 个 PR)

描述

Description:

https://github.com/envoyproxy/envoy/blob/abb1f969fe131c7a47da5c1ad1577be142e1ea8a/api/envoy/config/route/v3/route_components.proto#L884

defines retry policy for HTTP request. It doesn't support configure different retry policies for different HTTP methods. Users might want to retry on connection failure for all methods but 5xx for idempotent methods only. I think the retry policy should provide such function to allow configure different retry policies for different HTTP methods. More generally, the retry policy should be able to support conditional retry condition.

Relevant Links: https://github.com/istio/istio/issues/13851

贡献者指南