distribution/registry/storage/driver
Thomas Way 5ee5aaa058
fix(registry/storage/driver/s3-aws): use a consistent multipart chunk size
Some S3 compatible object storage systems like R2 require that all
multipart chunks are the same size. This was mostly true before, except
the final chunk was larger than the requested chunk size which causes
uploads to fail.

In addition, the two byte slices have been replaced with a single
*bytes.Buffer and the surrounding code simplified significantly.

Fixes: #3873

Signed-off-by: Thomas Way <thomas@6f.io>
2024-10-30 21:46:36 +00:00
..
azure refactor: apply suggestions from code review 2023-12-13 09:22:48 +00:00
base Added Open Telemetry Tracing to Filesystem package 2024-03-04 13:31:22 +01:00
factory storage/driver: plumb contexts into factories 2023-10-27 17:48:57 -04:00
filesystem refactor: apply suggestions from code review 2023-12-13 09:22:48 +00:00
gcs Fix silly testing format mistakes 2024-08-30 11:18:18 +01:00
inmemory refactor: apply suggestions from code review 2023-12-13 09:22:48 +00:00
middleware chore: fix typo in rewrite storage middleware init 2024-08-15 08:59:30 +01:00
s3-aws fix(registry/storage/driver/s3-aws): use a consistent multipart chunk size 2024-10-30 21:46:36 +00:00
testsuites fix(registry/storage/driver/s3-aws): use a consistent multipart chunk size 2024-10-30 21:46:36 +00:00
errors_test.go feat: add tparallel linter to improve handling parallel tests 2023-11-29 21:40:20 +00:00
fileinfo.go format code with gofumpt 2022-11-03 22:48:20 +01:00
storagedriver.go fix: update S3 storage driver writer 2023-12-13 09:22:48 +00:00
walk_test.go Fix silly testing format mistakes 2024-08-30 11:18:18 +01:00
walk.go Pass the last paging flag to storage drivers 2023-08-29 11:27:42 +01:00