Skip to content

simplify cache locking #4136

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

Merged
merged 1 commit into from
Jun 30, 2025
Merged

simplify cache locking #4136

merged 1 commit into from
Jun 30, 2025

Conversation

deitch
Copy link
Collaborator

@deitch deitch commented Jun 30, 2025

- What I did
Simplified all of the cache locking by creating a lock file and locking the directory

- How I did it
Standard lock file <cachedir>/.lock and use that as a lock

- How to verify it
CI for regressions, manual for other.

- Description for the changelog

Simpler cache locks.

Signed-off-by: Avi Deitcher <avi@deitcher.net>
@deitch deitch merged commit 940c1b7 into linuxkit:master Jun 30, 2025
42 of 43 checks passed
@deitch deitch deleted the lock-whole-cache branch June 30, 2025 17:58
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.

1 participant