Skip to content

Commit

Permalink
[feature](merge-cloud) Add retrying service config (apache#30137)
Browse files Browse the repository at this point in the history
Co-authored-by: Lei Zhang <[email protected]>
  • Loading branch information
w41ter and SWJTU-ZhangLei authored Jan 22, 2024
1 parent 7ecf4e7 commit e02f2a0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions fe/fe-core/src/main/resources/retrying_service_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"methodConfig": [
{
"name": [
{
"service": "doris.cloud.MetaService"
}
],
"retryPolicy": {
"maxAttempts": 10,
"initialBackoff": "0.5s",
"maxBackoff": "30s",
"backoffMultiplier": 2,
"retryableStatusCodes": [
"UNAVAILABLE"
]
}
}
]
}

0 comments on commit e02f2a0

Please sign in to comment.