Skip to content

Commit

Permalink
feat: add RESOURCE_EXHAUSTED to the list of retryable error codes
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 628281023
  • Loading branch information
Google APIs authored and Copybara-Service committed Apr 26, 2024
1 parent a532f52 commit 60536a2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions google/spanner/v1/spanner.yaml
Expand Up @@ -57,3 +57,7 @@ authentication:
canonical_scopes: |-
https://www.googleapis.com/auth/cloud-platform,
https://www.googleapis.com/auth/spanner.data
publishing:
new_issue_uri: https://issuetracker.google.com/issues/new?component=190851&template=0
documentation_uri: https://cloud.google.com/spanner/
9 changes: 6 additions & 3 deletions google/spanner/v1/spanner_grpc_service_config.json
Expand Up @@ -34,7 +34,8 @@
"maxBackoff": "32s",
"backoffMultiplier": 1.3,
"retryableStatusCodes": [
"UNAVAILABLE"
"UNAVAILABLE",
"RESOURCE_EXHAUSTED"
]
}
},
Expand All @@ -51,7 +52,8 @@
"maxBackoff": "32s",
"backoffMultiplier": 1.3,
"retryableStatusCodes": [
"UNAVAILABLE"
"UNAVAILABLE",
"RESOURCE_EXHAUSTED"
]
}
},
Expand Down Expand Up @@ -104,7 +106,8 @@
"maxBackoff": "32s",
"backoffMultiplier": 1.3,
"retryableStatusCodes": [
"UNAVAILABLE"
"UNAVAILABLE",
"RESOURCE_EXHAUSTED"
]
}
}
Expand Down

0 comments on commit 60536a2

Please sign in to comment.