Closed cole-h closed 5 months ago
LGTM, thanks!
FYI, it appears the issue this was fixing was reintroduced as part of the axum 0.7 update in https://github.com/zhaofengli/attic/pull/138 -- I've re-fixed it in https://github.com/zhaofengli/attic/pull/154
Closes https://github.com/zhaofengli/attic/issues/124.
Unless other knowledge comes to light, it appears that that was actually caused by an error in the actual stream of data itself -- I tested this by uploading something (with the storage backend as local), then manually messing with the database to change the
remote_file
andremote_file_id
columns on thechunk
table to point to some bogus (but valid-syntax) location in an S3 bucket. When trying to download, I would see errors from Nix but nothing from attic. Adding this print rectifies that.