-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Merkle tree cache doesn't cache tree artifacts #17923
Copy link
Copy link
Closed
Labels
P1I'll work on this now. (Assignee required)I'll work on this now. (Assignee required)team-Remote-ExecIssues and PRs for the Execution (Remote) teamIssues and PRs for the Execution (Remote) teamtype: bug
Description
Description of the bug:
When --experimental_remote_merkle_tree_cache is set, Bazel will cache the non-leaf nodes in the NestedSet when building merkle tree. However, tree artifacts are leaf nodes in the NestedSet so they are never cached. For some builds, one tree artifact could contain hundreds of thousands files, caching tree artifact could improve the performance.
Related #17804.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
No response
What is the output of bazel info release?
No response
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
Reactions are currently unavailable
Metadata
Metadata
Labels
P1I'll work on this now. (Assignee required)I'll work on this now. (Assignee required)team-Remote-ExecIssues and PRs for the Execution (Remote) teamIssues and PRs for the Execution (Remote) teamtype: bug