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

allow skipping backlinks where walking cache chains for provenance #4976

Merged
merged 1 commit into from
May 31, 2024

Conversation

tonistiigi
Copy link
Member

closes #4942

Backlink walking should not be needed to determine layers for current build and should be safe to skip. This improves performance of provenance creation for certain builds.

I consider this only a quick mitigation. It seems likely that there is an issue with walking all cache chains on export that shows up on specific builds that needs further investigation.

Backlink walking should not be needed to determine layers for
current build and should be safe to skip. This improves performance
of provenance creation for certain builds.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi added this to the v0.14.0 milestone May 31, 2024
@AkihiroSuda AkihiroSuda merged commit 69d230a into moby:master May 31, 2024
74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker buildkit stuck with high CPU and unresponsive
4 participants