Skip to content

Commit eae4a9d

Browse files
yoshi-automationchingor13
authored andcommitted
Spanner: DEADLINE_EXCEEDED is no longer automatically retried (#5063)
1 parent 350bea0 commit eae4a9d

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,7 @@ public static class Builder extends StubSettings.Builder<SpannerStubSettings, Bu
368368
ImmutableMap.builder();
369369
definitions.put(
370370
"idempotent",
371-
ImmutableSet.copyOf(
372-
Lists.<StatusCode.Code>newArrayList(
373-
StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
371+
ImmutableSet.copyOf(Lists.<StatusCode.Code>newArrayList(StatusCode.Code.UNAVAILABLE)));
374372
definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.<StatusCode.Code>newArrayList()));
375373
definitions.put(
376374
"long_running",

google-cloud-clients/google-cloud-spanner/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-02T07:55:48.539500Z",
2+
"updateTime": "2019-05-04T07:54:03.824602Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.22",
8-
"dockerImage": "googleapis/artman@sha256:e7f9554322a8aa1416c122c918fdc4cdec8cfe816f027fc948dec0be7edef320"
7+
"version": "0.18.0",
8+
"dockerImage": "googleapis/artman@sha256:29bd82cc42c43825fde408e63fc955f3f9d07ff9989243d7aa0f91a35c7884dc"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "6c48ab5aef47dc14e02e2dc718d232a28067129d",
16-
"internalRef": "241437588"
15+
"sha": "39c876cca5403e7e8282ce2229033cc3cc02962c",
16+
"internalRef": "246561601"
1717
}
1818
}
1919
],

0 commit comments

Comments
 (0)