Skip to content

Commit 1923c3f

Browse files
yoshi-automationPraful Makani
authored andcommitted
---
yaml --- r: 29621 b: refs/heads/autosynth-monitoring c: 740b5e9 h: refs/heads/master i: 29619: 72686a3
1 parent f546d48 commit 1923c3f

3 files changed

Lines changed: 22 additions & 8 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ refs/tags/v0.66.0: ed6a3f57cbdaa20339a1995f7d7d53b172a5b8ef
113113
refs/tags/v0.67.0: 30b56f02092efc6f3c3667650ea8b8825003e0b7
114114
refs/heads/autosynth-compute: c0ad4e5b54b2b167d47e508ca215c039404837d3
115115
refs/heads/autosynth-container: e9a9a8564756e20770320ed54eafa867040a7690
116-
refs/heads/autosynth-monitoring: c17ae27daf6c39a72acbfa522bf288ecd3684d52
116+
refs/heads/autosynth-monitoring: 740b5e96e2ef354745d58ea3a2a163368a69f987
117117
refs/heads/autosynth-pubsub: 8aac5a6202d83e8d67f5cb1d58f0adf9f2622aeb
118118
refs/heads/autosynth-video-intelligence: 82b145665822830c46d47eb8925edb2d842d6815
119119
refs/heads/autosynth-vision: 01ef61bcef344ceee0198f56f18bc1db20201261

branches/autosynth-monitoring/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ public static class Builder extends StubSettings.Builder<BigQueryStorageStubSett
227227
Lists.<StatusCode.Code>newArrayList(
228228
StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
229229
definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.<StatusCode.Code>newArrayList()));
230+
definitions.put(
231+
"unary_streaming",
232+
ImmutableSet.copyOf(Lists.<StatusCode.Code>newArrayList(StatusCode.Code.UNAVAILABLE)));
230233
RETRYABLE_CODE_DEFINITIONS = definitions.build();
231234
}
232235

@@ -257,6 +260,17 @@ public static class Builder extends StubSettings.Builder<BigQueryStorageStubSett
257260
.setTotalTimeout(Duration.ofMillis(600000L))
258261
.build();
259262
definitions.put("create_read_session", settings);
263+
settings =
264+
RetrySettings.newBuilder()
265+
.setInitialRetryDelay(Duration.ofMillis(100L))
266+
.setRetryDelayMultiplier(1.3)
267+
.setMaxRetryDelay(Duration.ofMillis(60000L))
268+
.setInitialRpcTimeout(Duration.ofMillis(86400000L))
269+
.setRpcTimeoutMultiplier(1.0)
270+
.setMaxRpcTimeout(Duration.ofMillis(86400000L))
271+
.setTotalTimeout(Duration.ofMillis(86400000L))
272+
.build();
273+
definitions.put("read_rows", settings);
260274
RETRY_PARAM_DEFINITIONS = definitions.build();
261275
}
262276

@@ -305,8 +319,8 @@ private static Builder initDefaults(Builder builder) {
305319

306320
builder
307321
.readRowsSettings()
308-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
309-
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
322+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("unary_streaming"))
323+
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("read_rows"));
310324

311325
builder
312326
.batchCreateReadSessionStreamsSettings()

branches/autosynth-monitoring/google-cloud-clients/google-cloud-bigquerystorage/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-04-04T07:35:31.563852Z",
2+
"updateTime": "2019-05-18T07:35:01.690947Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.23",
8-
"dockerImage": "googleapis/artman@sha256:f3a3f88000dc1cd1b4826104c5574aa5c534f6793fbf66e888d11c0d7ef5762e"
7+
"version": "0.19.0",
8+
"dockerImage": "googleapis/artman@sha256:d3df563538225ac6caac45d8ad86499500211d1bcb2536955a6dbda15e1b368e"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "04193ea2f8121388c998ab49c382f2c03417dcce",
16-
"internalRef": "241828309"
15+
"sha": "64f0053af0c24d817ec44278c8b4513f6cfd77ff",
16+
"internalRef": "248810317"
1717
}
1818
}
1919
],

0 commit comments

Comments
 (0)