Commit d90f0ee
authored
feat(experimental): add bidi stream retry manager. (#1632)
- Add bidi stream retry manager. It will the main class that would be
responsible for retries.
- Integrate MRD with bidi stream retry manager and reads resumption
strategy
- Added conformance tests for all error scenarios and smart resumption
for bidi reads
- Refactored MRD's `download_ranges()` method, which will now use retry
manager's `execute()` method to send the requests
- Modified the logic to parse and handle the
`BidiReadObjectRedirectedError`.
- Modified cloud build configuration to also pull the latest changes of
the current PR.
- Formatted few more files using black formatter1 parent a994dbf commit d90f0ee
File tree
16 files changed
+1274
-307
lines changed- cloudbuild
- google/cloud/storage
- _experimental/asyncio
- retry
- _media/requests
- tests
- conformance
- unit
- asyncio
- retry
16 files changed
+1274
-307
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments