commit | 597e289b097d3bfed8eea1cb0924bbeb04877e42 | [log] [tgz] |
---|---|---|
author | ishikhman <ishikhman@google.com> | Thu May 09 02:49:30 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu May 09 02:50:52 2019 -0700 |
tree | da9bb5cae42fdce4554370276881cd5776689b59 | |
parent | 0320c5f617d7f08796327eeb25c52ee155cfe472 [diff] |
remote: made CombinedCache a composition of Disk and Http Cache Fixes #8052 The problem: CombinedCache is not working. The cause: both `OnDiskBlobStore` and `HttpBlobStore` store action results differently from other actions, but not in the same way. The `OnDiskBlobStore` appends "ac_" prefix to the key, while the `HttpBlobStore` stores it in a different directory. Current implementation added "ac_" prefix for both blob stores, which is not correct for the `HttpBlobStore`. The solution: treat actionResults' `gets` and `puts` in accordance with a particular Blob Store used. The problem is described in #8052 and the root cause is described in [this](https://github.com/bazelbuild/bazel/issues/8052#issuecomment-483556888) and [this](https://github.com/bazelbuild/bazel/issues/8052#issuecomment-487068204) comments. Closes #8141. PiperOrigin-RevId: 247387377
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds 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
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.