This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Commit e3fd5d8
authored
fix: retry cancelled errors (#1235)
There's an internal race condition where when an rpc hits the timeout
limit, it sometimes receives a DEADLINE_EXCEEDED, but sometimes receives
a CANCELLED error. This PR marks CANCELLED as retryable, so this
situation will always eventually reach a DEADLINE_EXCEEDED state.
This will fix the flake currently seen in the conformance tests1 parent 044efe7 commit e3fd5d8Copy full SHA for e3fd5d8
6 files changed
+8-2Lines changed: 8 additions & 2 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- google/cloud/bigtable/data
- _async
- _sync_autogen
- tests/unit/data
- _async
- _sync_autogen
Expand file treeCollapse file tree
Open diff view settings
Collapse file
google/cloud/bigtable/data/_async/client.py
Copy file name to clipboardExpand all lines: google/cloud/bigtable/data/_async/client.py+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
59 | 59 | |
60 | 60 | |
61 | 61 | |
| 62 | + |
62 | 63 | |
63 | 64 | |
64 | 65 | |
| ||
938 | 939 | |
939 | 940 | |
940 | 941 | |
| 942 | + |
941 | 943 | |
942 | 944 | |
943 | 945 | |
|
Collapse file
google/cloud/bigtable/data/_sync_autogen/client.py
Copy file name to clipboardExpand all lines: google/cloud/bigtable/data/_sync_autogen/client.py+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
49 | 49 | |
50 | 50 | |
51 | 51 | |
| 52 | + |
52 | 53 | |
53 | 54 | |
54 | 55 | |
| ||
729 | 730 | |
730 | 731 | |
731 | 732 | |
| 733 | + |
732 | 734 | |
733 | 735 | |
734 | 736 | |
|
Collapse file
tests/unit/data/_async/test_client.py
Copy file name to clipboardExpand all lines: tests/unit/data/_async/test_client.py+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1334 | 1334 | |
1335 | 1335 | |
1336 | 1336 | |
| 1337 | + |
1337 | 1338 | |
1338 | 1339 | |
1339 | 1340 | |
| ||
1832 | 1833 | |
1833 | 1834 | |
1834 | 1835 | |
1835 | | - |
1836 | 1836 | |
1837 | 1837 | |
1838 | 1838 | |
|
Collapse file
tests/unit/data/_async/test_mutations_batcher.py
Copy file name to clipboardExpand all lines: tests/unit/data/_async/test_mutations_batcher.py+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1169 | 1169 | |
1170 | 1170 | |
1171 | 1171 | |
| 1172 | + |
1172 | 1173 | |
1173 | 1174 | |
1174 | 1175 | |
|
Collapse file
tests/unit/data/_sync_autogen/test_client.py
Copy file name to clipboardExpand all lines: tests/unit/data/_sync_autogen/test_client.py+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1063 | 1063 | |
1064 | 1064 | |
1065 | 1065 | |
| 1066 | + |
1066 | 1067 | |
1067 | 1068 | |
1068 | 1069 | |
| ||
1507 | 1508 | |
1508 | 1509 | |
1509 | 1510 | |
1510 | | - |
1511 | 1511 | |
1512 | 1512 | |
1513 | 1513 | |
|
Collapse file
tests/unit/data/_sync_autogen/test_mutations_batcher.py
Copy file name to clipboardExpand all lines: tests/unit/data/_sync_autogen/test_mutations_batcher.py+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1021 | 1021 | |
1022 | 1022 | |
1023 | 1023 | |
| 1024 | + |
1024 | 1025 | |
1025 | 1026 | |
1026 | 1027 | |
|
0 commit comments