-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Build
-
200
InĀ SERVER-91864, we removed the prefetch of bazel in scons. It seems running it in a thread was causing a python segfault in BF-33272.
We should reconsider how to do this, as scons spends a fair amount of time doing configure checks and would be good to start intializing bazel during this time.
Probably the safer way would not use any kind of thread in scons and instead perform the entire prefetch in a subprocess. There will need to be some kind of lock mechanism to let scons know the bazel is prefetch and ready for use however (which is why the thread mechanism was originally used).
- is duplicated by
-
SERVER-88950 Experiment with speeding up hybrid build by prefetching bazel external deps
- Closed
-
SERVER-89804 Prefetch bazel dependencies in retriable setup task
- Closed
- related to
-
SERVER-91864 Remove early bazel fetch thread from scons
- Closed