Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use worker threads for repo fetching during Skyframe error bubb…
…ling For some reason, using worker threads for repo fetching during Skyframe error bubbling frequently causes deadlocks on Linux. I wasn't able to find out why the deadlock happens, but this CL is the immediate solution to the problem, and shouldn't be a performance concern since no Skyframe restarts should happen during error bubbling anyway. Tested on Linux; with this CL, `bazel test //src/test/shell/bazel:starlark_repository_test --test_filter=test_download_failure_message --runs_per_test=20` finishes just fine. (On an M1 macbook, I can't trigger the deadlock even without this CL.) Fixes #21238 PiperOrigin-RevId: 606305306 Change-Id: I6f47a144b29030011f6c10c2b37f6874190fed0e
- Loading branch information