-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Save remote output metadata to ActionCache and load them before check…
…ing action cache This PR extends `ActionCache.Entry` to store output metadata by having a map of <Path, Metadata>. This map is updated after action execution when we update action cache so that metadata of all outputs of the action are saved. Before checking the action cache (when executing actions), we will load the output metadata into output store if it is remote and the correspondingly local one is missing. With this change, remote output metadata is saved to disk so build without bytes can use them among server restarts. We can also download outputs after action execution since remote output metadata can be accessed outside. Part of #12665. Fixes #8248. Closes #13604. PiperOrigin-RevId: 388586691
- Loading branch information
1 parent
f913ef1
commit 4e29042
Showing
15 changed files
with
1,587 additions
and
185 deletions.
There are no files selected for viewing
276 changes: 237 additions & 39 deletions
276
src/main/java/com/google/devtools/build/lib/actions/ActionCacheChecker.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.