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

llbsolver: fix possible early delete of external error #5142

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

tonistiigi
Copy link
Member

fixes #5122

Discard was called always, even if Commit had succeeded but it is not allowed as it removed the writer lease and blob could be deleted before it reaches the AddResource call of the history record.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Copy link
Collaborator

@coryb coryb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tonistiigi tonistiigi merged commit b6e33bc into moby:master Jul 10, 2024
75 checks passed
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.

Flaky test: TestHistoryError/worker=containerd-1.6
3 participants