Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

registry: Fixes to allow layer uploads above 5GB #78

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

gabivlj
Copy link
Collaborator

@gabivlj gabivlj commented Nov 25, 2024

As we need to copy a stream of the uploaded layer (random uuid) to a blobs/.../<digest> path, that might surpass the maximum size of a monolithic upload to R2 without using multipart uploads.

To circumvent this, we will calculate the digest from the uploaded path and compare. Then, we will create a reference in the original blobs/.../digest path pointing to the upload path.

Should fix #69

As we need to copy a stream of the uploaded layer (random uuid) to
a `blobs/.../<digest>` path, that might surpass the maximum size of a
monolithic upload to R2 without using multipart uploads.

To circumvent this, we will calculate the digest from the uploaded path
and compare. Then, we will create a reference in the original
`blobs/.../digest` path pointing to the upload path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: Network connection lost.
1 participant