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

[SR-7819] Prevent concurrent package workspace manipulations #4812

Open
ankitspd opened this issue May 31, 2018 · 0 comments
Open

[SR-7819] Prevent concurrent package workspace manipulations #4812

ankitspd opened this issue May 31, 2018 · 0 comments
Labels

Comments

@ankitspd
Copy link
Member

Previous ID SR-7819
Radar rdar://problem/28448023
Original Reporter @aciidb0mb3r
Type Bug
Additional Detail from JIRA
Votes 1
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: deebdabbf55390f322fa9aa68c43ed31

Issue Description:

We should add a "lock" used by the package manager when mutations to the workspace are being made by the package manager – i.e. if a user happens to run two package manager operations that mutate the package at the same time, they should be serialized.

We can do this by using the standard UNIX file locking facilities (and things like writing the PID into the lockfile so that we be resilient to situations where we crashed with the lock held).

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants