-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Pkg.add race condition #5622
Comments
I don't think we intended to guard against this. |
Given that |
We should probably use file locking to avoid this sort of race condition. Until now, I've just let it go, but obviously it would be better to handle it correctly. @loladiro, @vtjnash – what's the status of file locking APIs that |
Doesn't
Would it not be simpler to roll this into |
@staticfloat you are right. libgit2 does implement a cross platform locking mechanism |
I'm speculatively removing the |
Somewhat perverse, but if you
Pkg.add
in one Julia instance and while that is going, start another Julia instance andPkg.add
something else, it deletes all the previously pulled packages from the first instance.Example:
(GSL build in Instance 1 dies horribly a short while later)
The text was updated successfully, but these errors were encountered: