-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
fix: add patch for registry layers larger than 10G with S3 backend #16322
Conversation
Signed-off-by: Franz Nemeth <franz.nemeth@dynatrace.com>
|
It seems that the distribution v2.8 already integrate this PR and we could bump it up to v2.8 instead of patch. |
|
So that means waiting for #16190 instead of this fix? |
|
I think we need to reopen that or do you see other results @franznemeth? /usr/bin/registry_DO_NOT_USE_GC -v
/usr/bin/registry_DO_NOT_USE_GC github.com/docker/distribution v2.8.0I tried to push
here the repo with sample files: https://hub.docker.com/r/vad1mo/10gb-random-file/tags |
|
No I've had the exact same results. At the time of testing there was only a beta release of 2.8.0 so I was assuming that it would be fixed in the release. I would suggest reopening the PR |
|
Ok, In the meantime I figured out regarding the upstream docker distribution schedule. The patch distribution/distribution#2815 was merged into main but did not make it into the 2.8.0 and 2.8.1 release. It seems like this will be part of registry 3.x. @stonezdj can you please reopen this ticket or even better can we accept it. Consequence |
Codecov Report
@@ Coverage Diff @@
## main #16322 +/- ##
==========================================
- Coverage 67.28% 67.28% -0.01%
==========================================
Files 970 970
Lines 81267 81267
Branches 2550 2550
==========================================
- Hits 54684 54681 -3
- Misses 22878 22881 +3
Partials 3705 3705
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
@franznemeth can you rebase please and push! |
|
@franznemeth, would you mind pushing again so that the CI runs again. Somehow we can't rerun it ourself 😞 |
…oharbor#16322) add patch for registry layers larger than 10G with S3 backend Signed-off-by: Franz Nemeth <franz.nemeth@dynatrace.com>
This PR fixes an issue if you use S3 as a storage backend, where you cannot push layers larger than 10GB in size.
The registry fails with the following message:
This problem was fixed upstream in the distribution/distribution repository through distribution/distribution#2815 but never included in a release which is why I am adding it as a patch to the registry version that harbor is building.
If you want me to adapt https://github.com/goharbor/harbor/blob/main/Makefile#L111 as well please tell me.
Signed-off-by: Franz Nemeth franz.nemeth@dynatrace.com
Closes #15719