-
Notifications
You must be signed in to change notification settings - Fork 257
[1.57] Fall back …, bump limit to 150 MB, and tag as 1.57.1 #2241
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
[1.57] Fall back …, bump limit to 150 MB, and tag as 1.57.1 #2241
Conversation
Try to split fields by purpose, and document some of the context. For consistency, use the same order in the struct literals. Only reorders existing fields, should not change behavior. Signed-off-by: Miloslav Trmač <[email protected]>
Instead, have the callees produce ErrFallbackToOrdinaryLayerDownload directly. Signed-off-by: Miloslav Trmač <[email protected]>
That's a logically better place, it pairs the getBlobAt calls with the ErrBadRequest types specific to those call sites. We will, also, add more fallback reasons. Signed-off-by: Miloslav Trmač <[email protected]>
... but not if the fallback would be convert_images, again creating too large metadata. Signed-off-by: Miloslav Trmač <[email protected]>
We have seen an image with: - total size 1.43 GB - uncompressed zstd:chunked manifest size of 91.7 MB - uncompressed tar-split size (not constrained by maxTocSize) 310 MB Without more infrastructure, we are just guessing about what the system we are running on can support, so, for now, *shrug*, bump the number. Eventually we should stream the data from/to disk, making this much less relevant; that makes building the infrastructure to estimate available memory unattractive. Signed-off-by: Miloslav Trmač <[email protected]>
Signed-off-by: Miloslav Trmač <[email protected]>
@mtrmac I'd rather merge this one, but somehow the version file was a -dev. I think I've corrected that now, fingers crossed. |
e3c4a4a
to
d16a375
Compare
@TomSweeneyRedHat My mistake, I forgot to switch the PR destination. Hopefully fixed now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe, mtrmac The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@TomSweeneyRedHat Tests are green. |
/lgtm |
f4d2e9c
into
containers:release-1.57
This is #2239 + a cherry-pick of #2240, just so that we have choices.