config: Make gRPC xDS retry backoff configurable#24701
config: Make gRPC xDS retry backoff configurable#24701htuch merged 46 commits intoenvoyproxy:mainfrom
Conversation
Signed-off-by: Jayson Dmello <jdmello@confluent.io>
|
Hi @jaysonjdmello, welcome and thank you for your contribution. We will try to review your Pull Request as quickly as possible. In the meantime, please take a look at the contribution guidelines if you have not done so already. |
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
Signed-off-by: Jayson Dmello <jdmello@confluent.io>
Signed-off-by: Jayson Dmello <jdmello@confluent.io>
Signed-off-by: Jayson Dmello <jdmello@confluent.io>
|
/assign @yanjunxiang-google Can you take a look? |
|
|
||
| constexpr absl::string_view Wildcard = "*"; | ||
|
|
||
| static constexpr uint64_t RetryBaseIntervalMs = 500; |
There was a problem hiding this comment.
Are these global constants GRPC retry mechanism specific? Need some comments here. Also is here the best place to define them?
There was a problem hiding this comment.
These are not intended to be specific to GRPC retry timers but rather the the default time for prepareBackoffStrategy method in this file.
Can you suggest an alternate location for these global constants please.
|
LGTM in general. Just a few nit comments. |
Signed-off-by: Jayson Dmello <jdmello@confluent.io>
77d31a0 to
2495a26
Compare
Signed-off-by: Jayson Dmello <jdmello@confluent.io>
Signed-off-by: Jayson Dmello <110573042+jaysonjdmello@users.noreply.github.com>
Signed-off-by: Jayson Dmello <jdmello@confluent.io>
|
/assign @adisuissa For xDS code review maintainer pass |
Signed-off-by: Jayson Dmello <jdmello@confluent.io>
Signed-off-by: Jayson Dmello <110573042+jaysonjdmello@users.noreply.github.com>
|
/lgtm api |
adisuissa
left a comment
There was a problem hiding this comment.
Thanks for your contribution.
Before going into the details, can you explain the benefit of using this over the gRPC retries mechanism?
/wait-any
Signed-off-by: Jayson Dmello <110573042+jaysonjdmello@users.noreply.github.com>
Signed-off-by: Jayson Dmello <110573042+jaysonjdmello@users.noreply.github.com>
Signed-off-by: Jayson Dmello <110573042+jaysonjdmello@users.noreply.github.com>
|
/retest |
|
Retrying Azure Pipelines: |
Signed-off-by: Jayson Dmello <110573042+jaysonjdmello@users.noreply.github.com>
|
/retest |
|
Retrying Azure Pipelines: |
|
/retest |
|
Retrying Azure Pipelines: |
|
@htuch, would highly appreciate if you could provide feedback on the new added unit tests in |
htuch
left a comment
There was a problem hiding this comment.
LGTM modulo tiniest nits, thanks for the tests!
Signed-off-by: Jayson Dmello <110573042+jaysonjdmello@users.noreply.github.com>
Thank you for reviewing! I have addressed the issues |
|
/retest |
|
Retrying Azure Pipelines: |
Signed-off-by: Jayson Dmello <110573042+jaysonjdmello@users.noreply.github.com>
Relates: envoyproxy/envoy#24701 Signed-off-by: Tam Mach <tam.mach@cilium.io>
Signed-off-by: Jayson Dmello jdmello@confluent.io
Commit Message:
The gRPC xDS implementation uses hardcoded retry durations for re-establishing the gRPC channel. This change makes the backoff parameters configurable.
Additional Description:
Risk Level: Low
Testing: unit test
Docs Changes:
Release Notes: Added
Platform Specific Features:
[Optional Runtime guard:]
Fixes #24236
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]