Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-91895

revist bazel prefetch for scons

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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).

            Assignee:
            Unassigned Unassigned
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: