download locking
the various build servers share the distfiles download area. This might cause a race condition when different build servers tries to download same file at the same time. We should implement some kind of locking.
Note that we have .part files for partial downloads. Those are kept even if download fails so it can be possible to continue a previously failed download. We need a .lock file in addition.
(from redmine: issue id 873, created on 2011-12-14, closed on 2012-03-08)
- Changesets:
- Revision 01bab6e2 by Natanael Copa on 2012-01-20T08:22:06Z:
abuild: implement locking of downloaded files
We need locking Since the build servers use a shared download dir
and multiple vservers might want download same file at same time.
fixes #873