0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-02-17 23:45:36 -05:00
zot/pkg
Petu Eusebiu 7912b6a3fb Refactor s3 dedupe
Under digest bucket create 2 buckets, one for storing origin blob
and one for storing deduped blobs.

PutBlob() - puts an origin blob in both buckets
          - puts a deduped blob in deduped bucket
GetBlob() - returns blobs only from origin bucket
DeleteBlob() - deletes an origin blob from both buckets
             and moves one deduped blob into origin bucket
             - deletes a deduped blob from deduped bucket

[storage] When deleting an origin blob, next time we GetBlob() we get a
deduped blob with no content and we will move the content from
the deleted origin blob to it (inside s3.go).

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2022-09-14 14:43:58 -07:00
..
api report listening port when chosen by kernel (#770) 2022-09-09 08:41:13 +03:00
cli report listening port when chosen by kernel (#770) 2022-09-09 08:41:13 +03:00
common sync: periodically retry if on-demand fails inline, closes #281 2022-02-07 09:04:13 -08:00
compliance Remove from Response header Range the 'bytes' string 2022-08-03 19:46:18 +03:00
exporter Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
extensions Replaced deprecated io/ioutil functions (#768) 2022-09-02 15:56:02 +03:00
log Replaced deprecated io/ioutil functions (#768) 2022-09-02 15:56:02 +03:00
requestcontext graphql: Apply authorization on /_search endpoint 2022-08-26 21:31:26 +03:00
storage Refactor s3 dedupe 2022-09-14 14:43:58 -07:00
test Replaced deprecated io/ioutil functions (#768) 2022-09-02 15:56:02 +03:00