Commit 78b89a0
remote: Do not retry bytestream read requests if the file is complete.
Previously, an error at the end of the Read stream would result in a pointless retry request for 0 bytes of data.
Closes bazelbuild#13808.
PiperOrigin-RevId: 3897856911 parent ead4495 commit 78b89a0
2 files changed
Lines changed: 30 additions & 0 deletions
File tree
- src
- main/java/com/google/devtools/build/lib/remote
- test/java/com/google/devtools/build/lib/remote
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
369 | 377 | | |
370 | 378 | | |
371 | 379 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
965 | 987 | | |
966 | 988 | | |
967 | 989 | | |
| |||
0 commit comments