Skip to content
Permalink
Browse files
fix: bigtable v2 retry config settings to disable streaming RPC retri…
…es (#315)

PiperOrigin-RevId: 312558019

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed May 20 14:40:11 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: a175708acd7a367ab3ed120fa562331e1761d825
Source-Link: googleapis/googleapis@a175708
  • Loading branch information
yoshi-automation committed May 27, 2020
1 parent 482603a commit a7e43f07dc0b93c6702992d45444e815200bf202
Showing with 7 additions and 7 deletions.
  1. +4 −4 google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java
  2. +3 −3 synth.metadata
@@ -311,13 +311,13 @@ private static Builder initDefaults(Builder builder) {

builder
.readRowsSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("read_rows_params"));

builder
.sampleRowKeysSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("idempotent_params"));
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("non_idempotent_params"));

builder
.mutateRowSettings()
@@ -326,7 +326,7 @@ private static Builder initDefaults(Builder builder) {

builder
.mutateRowsSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("mutate_rows_params"));

builder
@@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigtable.git",
"sha": "0ef4959c25ab65d65ae3533455af0e7a351851d3"
"sha": "b17e39f2d8ca84335ab85d80372d6a0309a684c6"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "fb8f62b6784f43faf4b64179c57ce4b4931b1a00",
"internalRef": "310426317"
"sha": "a175708acd7a367ab3ed120fa562331e1761d825",
"internalRef": "312558019"
}
},
{

0 comments on commit a7e43f0

Please sign in to comment.