Skip to content

Commit 8ff130b

Browse files
Google APIscopybara-github
authored andcommitted
fix: Modify client lib retry policy for CreateWriteStream with longer backoff, more error code and longer overall time
PiperOrigin-RevId: 457061436
1 parent cc92ed1 commit 8ff130b

1 file changed

Lines changed: 18 additions & 4 deletions

File tree

google/cloud/bigquery/storage/v1/bigquerystorage_grpc_service_config.json

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@
7272
},
7373
{
7474
"name": [
75-
{
76-
"service": "google.cloud.bigquery.storage.v1.BigQueryWrite",
77-
"method": "CreateWriteStream"
78-
},
7975
{
8076
"service": "google.cloud.bigquery.storage.v1.BigQueryWrite",
8177
"method": "BatchCommitWriteStreams"
@@ -103,6 +99,24 @@
10399
"UNAVAILABLE"
104100
]
105101
}
102+
}, {
103+
"name": [
104+
{
105+
"service": "google.cloud.bigquery.storage.v1.BigQueryWrite",
106+
"method": "CreateWriteStream"
107+
}
108+
],
109+
"timeout": "1200s",
110+
"retryPolicy": {
111+
"initialBackoff": "10s",
112+
"maxBackoff": "120s",
113+
"backoffMultiplier": 1.3,
114+
"retryableStatusCodes": [
115+
"DEADLINE_EXCEEDED",
116+
"UNAVAILABLE",
117+
"RESOURCE_EXHAUSTED"
118+
]
119+
}
106120
}
107121
]
108122
}

0 commit comments

Comments
 (0)