You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Ignore gapic settings for all streaming RPCs (#79)
* chore: Ignore gapic settings for all streaming RPCs
This is to prepare for upcoming changes that will move simple retries to gRPC.
When this happens we want to retain retry settings at the client level, so they are copied into the manual settings wrapper.
See cl/277568516 for more details
* fix typo & remove noise from a test
Copy file name to clipboardExpand all lines: google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java
+23-12Lines changed: 23 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,25 @@ public class EnhancedBigtableStubSettings extends StubSettings<EnhancedBigtableS
102
102
.setTotalTimeout(Duration.ofMinutes(10))
103
103
.build();
104
104
105
+
// Allow retrying ABORTED statuses. These will be returned by the server when the client is
106
+
// too slow to read the rows. This makes sense for the java client because retries happen
107
+
// after the row merging logic. Which means that the retry will not be invoked until the
Copy file name to clipboardExpand all lines: google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/readrows/ReadRowsRetryTest.java
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -83,8 +83,10 @@ public void setUp() throws IOException {
0 commit comments