feat: support retries in ext proc#7169
Conversation
Signed-off-by: Shreemaan Abhishek <shreemaanabhishek@apache.org>
7f3e989 to
3863a53
Compare
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (50.00%) is below the target coverage (60.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #7169 +/- ##
==========================================
- Coverage 71.06% 70.96% -0.11%
==========================================
Files 229 229
Lines 40942 41021 +79
==========================================
+ Hits 29097 29112 +15
- Misses 10127 10191 +64
Partials 1718 1718 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@arkodg, test cases added! |
| Group: gateway.envoyproxy.io | ||
| backendSettings: | ||
| # START: Test data for retry policy | ||
| retry: |
There was a problem hiding this comment.
Test data for retry policy
| proxyProtocol: | ||
| version: V2 | ||
| # START: Test data for retry policy | ||
| retry: |
There was a problem hiding this comment.
Test data for retry policy
|
hey @shreealt can you run |
Co-authored-by: zirain <zirain2009@gmail.com> Signed-off-by: shreealt <shreemaanabhishek@apache.org>
guydc
left a comment
There was a problem hiding this comment.
Do grpc services support all the options in retry policy? It seems like the original PR that added support for retry_policy in grpc_service only covered backoff settings: envoyproxy/envoy#24701. Are other options like retryOn supported?
IIUC Envoy has a separate gRPC client codepath for xDS config subscription vs async sidestream calls (e.g. from ext_auth and ext_proc). envoyproxy/envoy#24701 implements it for the xDS config subscription code path. I believe the regular async sidestream call client has supported Here, we see the gRPC client sets retry policy directly on the HTTP stream options - https://github.com/envoyproxy/envoy/blob/f18433b0e76190cece6cad73fd58d4fbd9284a0d/source/common/grpc/async_client_impl.cc#L130 So yes, it should be supported fully. But please double check me :) |
|
/retest |
1 similar comment
|
/retest |
|
tests are still failing |
zirain
left a comment
There was a problem hiding this comment.
LGTM, do we need a release notes for backport?
arkodg
left a comment
There was a problem hiding this comment.
LGTM thanks !
merging this one to avoid merge conflicts, lets add a release note for this in a follow up
* feat: support retries in ext proc Signed-off-by: Shreemaan Abhishek <shreemaanabhishek@apache.org> Signed-off-by: Lin Moskovitch <lin.moskovitch@sap.com>
What type of PR is this?
Support retry policy in ext proc.
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes: #7127
Release Notes: Yes/No