distribution/registry
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
..
api Fuzzing: Add 3 fuzzers 2021-11-29 20:59:28 +00:00
auth go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
client Add tag delete API 2021-05-27 23:27:02 +01:00
handlers fix go check issues 2021-11-15 17:31:33 +08:00
listener [Server] Listen and serve on a unix socket 2015-05-11 16:00:14 +03:00
middleware go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
proxy disable insecure cipher suites 2022-01-25 17:18:44 +08:00
storage Delete S3 keys incrementally in batches 2022-10-30 19:10:24 +00:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go disable insecure cipher suites 2022-01-25 17:18:44 +08:00
registry_test.go disable insecure cipher suites 2022-01-25 17:18:44 +08:00
root.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00