aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitignore
diff options
context:
space:
mode:
authorGravatar Ola Rozenfeld <olaola@google.com>2017-07-17 10:05:59 +0200
committerGravatar Jakob Buchgraber <buchgr@google.com>2017-07-17 10:11:19 +0200
commitccbe40abeea5621a60c8998fbe38e5a23864e1b5 (patch)
tree4b88acd04cab7c7eb4fa381f412a578ab392e182 /.gitignore
parent9a45f55afc53d1844921bc90c1153ac449515f9e (diff)
remote: Lower the chances of a race condition in the remote upload.
Lower the chances of triggering #3360. Immediately before uploading output artifacts, check if any of the inputs ctime changed, and if so don't upload the outputs to the remote cache. I profiled the runs on //src:bazel before vs. after the change; as expected, the number of VFS_STAT increases by a factor of 180% (!), but, according to the profiler, it adds less than 1ms to the overall build time of 130s. PiperOrigin-RevId: 162179308
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions