Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

S3 objects larger than 4KB error when reading #777

Closed
MikaelSmith opened this issue Jun 17, 2020 · 0 comments · Fixed by #778
Closed

S3 objects larger than 4KB error when reading #777

MikaelSmith opened this issue Jun 17, 2020 · 0 comments · Fixed by #778
Labels
bug Something isn't working

Comments

@MikaelSmith
Copy link
Contributor

Trying to read an object in S3 with cat results in

cat: README.md: Input/output error

Nothing relevant appears in whistory for that command either.

@MikaelSmith MikaelSmith added the bug Something isn't working label Jun 17, 2020
MikaelSmith added a commit to MikaelSmith/wash that referenced this issue Jun 17, 2020
The S3 bytes range is inclusive, so a request for byte range 0-8 will
return 9 bytes. This was not obvious. Update so that a request for N
bytes only returns N bytes.

Fixes puppetlabs-toy-chest#777.

Signed-off-by: Michael Smith <michael.smith@puppet.com>
MikaelSmith added a commit to MikaelSmith/wash that referenced this issue Jun 17, 2020
The S3 bytes range is inclusive, so a request for byte range 0-8 will
return 9 bytes. This was not obvious. Update so that a request for N
bytes only returns N bytes.

Fixes puppetlabs-toy-chest#777.

Signed-off-by: Michael Smith <michael.smith@puppet.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant