commit | 5b95d9162b56b51c8e8f66258981ddf3c5d96765 | [log] [tgz] |
---|---|---|
author | larsrc <larsrc@google.com> | Wed May 12 05:14:42 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 12 05:16:02 2021 -0700 |
tree | 98af520e96da35b45c9ea4232dd3ffd0b49f918b | |
parent | ba4435cc81baee8621b75337b33986cc4fa13731 [diff] |
Check the result of Future.cancel() when cancelling the other branch of dynamic execution. Under --experimental_local_lockfree_output, the local branch may succeed and set the future before cancelling the remote branch. If the remote branch succeeded after that but before the local listener got going, it would falsely think the local was cancelled, which would occasionally lead to strange errors. RELNOTES: None. PiperOrigin-RevId: 373347494
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md