diff options
author | buchgr <buchgr@google.com> | 2017-12-20 14:08:34 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-20 14:10:44 -0800 |
commit | 243c0a84948d666ebfcf05a090e28e379d4273ca (patch) | |
tree | 41383dec43705f7b43df3adf7fdb44500e1c6aa9 /src/main/java/com/google/devtools/build | |
parent | ac2cd35438e13504336ced63b6a06581445b66a5 (diff) |
remote: fix download of output directories
Fix a bug where Bazel would crash if two Directory protos had the same
hash.
RELNOTES: Remote Caching and Execution support output directories.
PiperOrigin-RevId: 179731040
Diffstat (limited to 'src/main/java/com/google/devtools/build')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCache.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCache.java b/src/main/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCache.java index 94019453e8..6b2c4560f1 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCache.java +++ b/src/main/java/com/google/devtools/build/lib/remote/AbstractRemoteActionCache.java @@ -208,9 +208,6 @@ public abstract class AbstractRemoteActionCache implements AutoCloseable { + "not found"); } downloadDirectory(childPath, childDir, childrenMap); - - // Prevent reuse. - childrenMap.remove(childDigest); } } |