-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the dynamic spawn strategy is broken for remote execution #8646
Labels
Comments
The fix is to call |
buchgr
added a commit
to buchgr/bazel
that referenced
this issue
Jun 17, 2019
This change fixes the correctness issue of dynamic spawn scheduler when being used with remote execution. See bazelbuild#8646 for more details.
buchgr
added a commit
to buchgr/bazel
that referenced
this issue
Jun 17, 2019
This change fixes the correctness issue of dynamic spawn scheduler when being used with remote execution. See bazelbuild#8646 for more details. There's a performance issue remaining: bazelbuild#8467
jin
added
team-Remote-Exec
Issues and PRs for the Execution (Remote) team
untriaged
labels
Jun 17, 2019
buchgr
added a commit
to buchgr/bazel
that referenced
this issue
Jun 18, 2019
This change fixes the correctness issue of dynamic spawn scheduler when being used with remote execution. See bazelbuild#8646 for more details. There's a performance issue remaining: bazelbuild#8467
siberex
pushed a commit
to siberex/bazel
that referenced
this issue
Jul 4, 2019
This change fixes the correctness issue of dynamic spawn scheduler when being used with remote execution. See bazelbuild#8646 for more details. There's a performance issue remaining: bazelbuild#8647 Closes bazelbuild#8648. PiperOrigin-RevId: 253998300
irengrig
pushed a commit
to irengrig/bazel
that referenced
this issue
Jul 15, 2019
This change fixes the correctness issue of dynamic spawn scheduler when being used with remote execution. See bazelbuild#8646 for more details. There's a performance issue remaining: bazelbuild#8647 Closes bazelbuild#8648. PiperOrigin-RevId: 253998300
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have received several bug reports about the dynamic spawn strategy not working properly with remote execution / caching. I took some time to look through the code to better understand the issue. I believe to now understand the heart of the issue.
The dynamic spawn strategy in a single line:
This line takes the result of the first callable to finish and calls
Future.cancel(mayInterruptIfRunning=true)
on the slower one. The bug is that the Callable's have side effects in that both write their outputs to the file system and incidentally also to the same files.This has two issues:
I believe 2.) is what users are most likely to see.
The text was updated successfully, but these errors were encountered: