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

Use view transaction for metadata read #5550

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

cpuguy83
Copy link
Member

Found this while trying to dig into some other issues.
I don't think store.Get should need a write transaction here.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@cpuguy83
Copy link
Member Author

cpuguy83 commented Nov 25, 2024

This is actually fixing all my performance issues in moby/moby#48950.
Also found it's making docker buildx du go from taking minutes to being nearly instant.

@tonistiigi
Copy link
Member

@tonistiigi tonistiigi merged commit 3b38a1e into moby:master Nov 25, 2024
97 checks passed
@cpuguy83 cpuguy83 deleted the metadata_view branch November 25, 2024 23:42
@thaJeztah
Copy link
Member

Seems to be a regression 13bd25c#diff-ae44b7efd0878d4ad4013864764f0046c5c75f5f7dfe08718ad3bd32cabf9caeR190

Looks like that commit was part of #5190, which was included in BuildKit v0.16

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.

3 participants