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

Fix locking bugs #1400

Merged
merged 2 commits into from
Oct 19, 2022
Merged

Fix locking bugs #1400

merged 2 commits into from
Oct 19, 2022

Conversation

mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Oct 19, 2022

Don't immediately unlock the layer store after locking it.

Luckily it only matters for additional stores.

Don't immediately unlock the layer store after locking it.

Luckily it only matters for additional stores.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This is a bad bug: we wouldn't reload state from disk
at all in writers.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
@mtrmac mtrmac changed the title Fix locking in CreateContainer Fix locking bugs Oct 19, 2022
@mtrmac
Copy link
Collaborator Author

mtrmac commented Oct 19, 2022

Also:

Fix {layerStore,imageStore}.startWriting()

This is a bad bug: we wouldn't reload state from disk at all in writers.

@rhatdan
Copy link
Member

rhatdan commented Oct 19, 2022

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

LGTM

@vrothberg
Copy link
Member

Feel free to merge. I don't feel comfortable with the 'update branch' button.

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.

None yet

3 participants