distribution/registry/storage/driver/s3-aws
Milos Gajdos ebc4234fd5
Delete S3 keys incrementally in batches
Instead of first collecting all keys and then batch deleting them,
we will do the incremental delete _online_ per max allowed batch.
Doing this prevents frequent allocations for large S3 keyspaces
and OOM-kills that might happen as a result of those.

This commit introduces storagedriver.Errors type that allows to return
multierrors as a single error from any storage driver implementation.

Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2022-10-30 19:10:24 +00:00
..
s3.go Delete S3 keys incrementally in batches 2022-10-30 19:10:24 +00:00
s3_test.go Delete S3 keys incrementally in batches 2022-10-30 19:10:24 +00:00
s3_v2_signer.go Fix gometalint errors 2019-02-04 16:01:04 -08:00