Skip to content

Commit df49bfe

Browse files
Google APIscopybara-github
authored andcommitted
fix: add retryableStatusCodes back to bigtable
Committer: @miraleung PiperOrigin-RevId: 351852297
1 parent 09487a7 commit df49bfe

2 files changed

Lines changed: 17 additions & 5 deletions

File tree

google/bigtable/admin/v2/bigtableadmin_grpc_service_config.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@
6565
"retryPolicy": {
6666
"initialBackoff": "1s",
6767
"maxBackoff": "60s",
68-
"backoffMultiplier": 2
68+
"backoffMultiplier": 2,
69+
"retryableStatusCodes": [
70+
"UNAVAILABLE",
71+
"DEADLINE_EXCEEDED"
72+
]
6973
}
7074
},
7175
{
@@ -189,6 +193,10 @@
189193
"service": "google.bigtable.admin.v2.BigtableInstanceAdmin",
190194
"method": "DeleteInstance"
191195
},
196+
{
197+
"service": "google.bigtable.admin.v2.BigtableInstanceAdmin",
198+
"method": "CreateCluster"
199+
},
192200
{
193201
"service": "google.bigtable.admin.v2.BigtableInstanceAdmin",
194202
"method": "DeleteCluster"

google/bigtable/v2/bigtable_grpc_service_config.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"retryPolicy": {
1616
"initialBackoff": "0.010s",
1717
"maxBackoff": "60s",
18-
"backoffMultiplier": 2
18+
"backoffMultiplier": 2,
19+
"retryableStatusCodes": []
1920
}
2021
},
2122
{
@@ -29,7 +30,8 @@
2930
"retryPolicy": {
3031
"initialBackoff": "0.010s",
3132
"maxBackoff": "60s",
32-
"backoffMultiplier": 2
33+
"backoffMultiplier": 2,
34+
"retryableStatusCodes": []
3335
}
3436
},
3537
{
@@ -43,7 +45,8 @@
4345
"retryPolicy": {
4446
"initialBackoff": "0.010s",
4547
"maxBackoff": "60s",
46-
"backoffMultiplier": 2
48+
"backoffMultiplier": 2,
49+
"retryableStatusCodes": []
4750
}
4851
},
4952
{
@@ -57,7 +60,8 @@
5760
"retryPolicy": {
5861
"initialBackoff": "0.010s",
5962
"maxBackoff": "60s",
60-
"backoffMultiplier": 2
63+
"backoffMultiplier": 2,
64+
"retryableStatusCodes": []
6165
}
6266
},
6367
{

0 commit comments

Comments
 (0)