Repository navigation
Commit 660144d
authored
s3: treat UploadPart success without ETag as retryable error
A successful UploadPart whose response carries no ETag header made
WriteChunk panic dereferencing uout.ETag in a debug log line. The part
ETag is required by CompleteMultipartUpload, so an ETag-less 200 is
unusable: return a retryable error from inside the pacer callback so
the chunk is retried instead of crashing the transfer or completing
the upload with a broken part list.
Fixes rclone#9822
Co-authored-by: Shurong Cao <[email protected]>1 parent c140d36 commit 660144d
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4653 | 4653 | | |
4654 | 4654 | | |
4655 | 4655 | | |
| 4656 | + | |
| 4657 | + | |
| 4658 | + | |
| 4659 | + | |
| 4660 | + | |
| 4661 | + | |
| 4662 | + | |
| 4663 | + | |
| 4664 | + | |
| 4665 | + | |
4656 | 4666 | | |
4657 | 4667 | | |
4658 | 4668 | | |
| |||
0 commit comments