This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new e02f2a03071 [feature](merge-cloud) Add retrying service config (#30137)
e02f2a03071 is described below
commit e02f2a0307197d780df67a946111ff1fd042f560
Author: walter <[email protected]>
AuthorDate: Mon Jan 22 10:34:10 2024 +0800
[feature](merge-cloud) Add retrying service config (#30137)
Co-authored-by: Lei Zhang <[email protected]>
---
.../src/main/resources/retrying_service_config.json | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/fe/fe-core/src/main/resources/retrying_service_config.json
b/fe/fe-core/src/main/resources/retrying_service_config.json
new file mode 100644
index 00000000000..1589c1fe406
--- /dev/null
+++ b/fe/fe-core/src/main/resources/retrying_service_config.json
@@ -0,0 +1,20 @@
+{
+ "methodConfig": [
+ {
+ "name": [
+ {
+ "service": "doris.cloud.MetaService"
+ }
+ ],
+ "retryPolicy": {
+ "maxAttempts": 10,
+ "initialBackoff": "0.5s",
+ "maxBackoff": "30s",
+ "backoffMultiplier": 2,
+ "retryableStatusCodes": [
+ "UNAVAILABLE"
+ ]
+ }
+ }
+ ]
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]