Skip to content

Commit 0e3869e

Browse files
yoshi-automationPraful Makani
authored andcommitted
---
yaml --- r: 33533 b: refs/heads/autosynth-os-login c: 740b5e9 h: refs/heads/master i: 33531: 2b09c97
1 parent 447737a commit 0e3869e

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
@@ -134,7 +134,7 @@ refs/heads/autosynth-firestore: e79eeb26930dfae4439424ad2fda5874eeca54c8
134134
refs/heads/autosynth-iot: 044be280805a59e06d09658688c9ee474a9815ad
135135
refs/heads/autosynth-kms: d31449d6621a50fb16a4bef4f30f0f3051d27d7c
136136
refs/heads/autosynth-language: 6130869312f99a1e7d3aa0485759172a23333cc5
137-
refs/heads/autosynth-os-login: c17ae27daf6c39a72acbfa522bf288ecd3684d52
137+
refs/heads/autosynth-os-login: 740b5e96e2ef354745d58ea3a2a163368a69f987
138138
refs/heads/autosynth-redis: 6bedce4d7c7c6ca6a22e83ad1780e08fdc565a9e
139139
refs/heads/autosynth-scheduler: 57f9fdb1e7de30c85f4ec7198931a07f50603e55
140140
refs/heads/autosynth-spanner: de02ca32edea133b68b51052e325359a3704b5d2

branches/autosynth-os-login/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-os-login/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)