mirror of
https://github.com/project-zot/zot.git
synced 2025-02-17 23:45:36 -05:00
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> |
||
---|---|---|
.. | ||
api | ||
cli | ||
common | ||
compliance | ||
exporter | ||
extensions | ||
log | ||
requestcontext | ||
storage | ||
test |