Commit c424ccb
authored
fix: fix retry info algorithm setting (#2562)
Fix a bug in RetryInfo retry algorithm.
In the following scenario: error retry delay = 1, error retry delay = 2, error with no retry delay. Currently the client did not set retry delay duration which is default to 0 for the first attempt. This will cause all the subsequent attempts from the same error to not have any retry delay if the retry delay is not present.
The fix sets retry delay duration to be the retry delay from the last attempt. We'll decide if we want to change this behavior later.
Conformance test currently assumes that the client will reset the retry delay. So also disabling the conformance test for now.1 parent 3b51e12 commit c424ccb
File tree
2 files changed
+2
-1
lines changed- google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/gaxx/retrying
- test-proxy
2 files changed
+2
-1
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments