Commits on Source (5)
-
Tiago Gomes authored
The CAS uses a temp directory while manipulating the cache, temporary files can be added and removed while adding artifacts to the cache here. Since calculation of the cache size happens in parallel to artifact cache additions, this causes race conditions in the size calculation job, as we end up calling `stat` on temporary files which are being removed in parallel. Handle this by moving the temporary directory out of the way, and avoid considering the tmp directory when calculating the cache size
-
Tiago Gomes authored
cascache: move tmp directory one level up See merge request !623
-
Valentin David authored
When open(2) is used with flags O_CREAT|O_RDWR, the file descriptor must be readable. Unfortunately O_RDWR was not passed which made read fail with EBADF and mmap to signal SIGBUS. This issue happened with man-db for example. Fixes #143.
-
Valentin David authored
Keep original flags for create in SafeHardlinks. See merge request !625
-
William Salmon authored
This is to address #471 that documented unhelpfull behavour when tracking git sources. It is a back port of !580 and !628
Showing
- buildstream/_artifactcache/artifactcache.py 4 additions, 1 deletionbuildstream/_artifactcache/artifactcache.py
- buildstream/_artifactcache/cascache.py 5 additions, 6 deletionsbuildstream/_artifactcache/cascache.py
- buildstream/_artifactcache/casserver.py 1 addition, 1 deletionbuildstream/_artifactcache/casserver.py
- buildstream/_fuse/fuse.py 5 additions, 1 deletionbuildstream/_fuse/fuse.py
- buildstream/_fuse/hardlinks.py 2 additions, 2 deletionsbuildstream/_fuse/hardlinks.py
- buildstream/_pipeline.py 8 additions, 3 deletionsbuildstream/_pipeline.py
- buildstream/plugins/sources/git.py 13 additions, 0 deletionsbuildstream/plugins/sources/git.py
- tests/sources/git.py 39 additions, 1 deletiontests/sources/git.py