Skip to content

Commit 60536a2

Browse files
Google APIscopybara-github
authored andcommitted
feat: add RESOURCE_EXHAUSTED to the list of retryable error codes
PiperOrigin-RevId: 628281023
1 parent a532f52 commit 60536a2

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

google/spanner/v1/spanner.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ authentication:
5757
canonical_scopes: |-
5858
https://www.googleapis.com/auth/cloud-platform,
5959
https://www.googleapis.com/auth/spanner.data
60+
61+
publishing:
62+
new_issue_uri: https://issuetracker.google.com/issues/new?component=190851&template=0
63+
documentation_uri: https://cloud.google.com/spanner/

google/spanner/v1/spanner_grpc_service_config.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"maxBackoff": "32s",
3535
"backoffMultiplier": 1.3,
3636
"retryableStatusCodes": [
37-
"UNAVAILABLE"
37+
"UNAVAILABLE",
38+
"RESOURCE_EXHAUSTED"
3839
]
3940
}
4041
},
@@ -51,7 +52,8 @@
5152
"maxBackoff": "32s",
5253
"backoffMultiplier": 1.3,
5354
"retryableStatusCodes": [
54-
"UNAVAILABLE"
55+
"UNAVAILABLE",
56+
"RESOURCE_EXHAUSTED"
5557
]
5658
}
5759
},
@@ -104,7 +106,8 @@
104106
"maxBackoff": "32s",
105107
"backoffMultiplier": 1.3,
106108
"retryableStatusCodes": [
107-
"UNAVAILABLE"
109+
"UNAVAILABLE",
110+
"RESOURCE_EXHAUSTED"
108111
]
109112
}
110113
}

0 commit comments

Comments
 (0)