Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Issue 2501023002: Add FileEntry cache to TagCache for selfupdate. (Closed)

Created:
4 years, 1 month ago by iannucci
Modified:
4 years, 1 month ago
Reviewers:
dnj, Vadim Sh.
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, andrew.wang, todd, tandrii+luci-go_chromium.org, M-A Ruel
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Add FileEntry cache to TagCache for selfupdate. This adds a mapping of (instance ID, file name) -> sha1, which the selfupdater will use to cache the hash of itself and avoid issuing redundant downloads of the same client multiple times. R=dnj@chromium.org, vadimsh@chromium.org BUG=663843 Committed: https://github.com/luci/luci-go/commit/7409ae3d13816767573247cee751b0e7372ab0c2

Patch Set 1 #

Total comments: 8

Patch Set 2 : fix comments #

Messages

Total messages: 9 (2 generated)
iannucci
4 years, 1 month ago (2016-11-14 17:39:15 UTC) #1
iannucci
ping :) (dnj reviewed on the previous incarnation, but vadimsh you should take a look)
4 years, 1 month ago (2016-11-15 23:57:23 UTC) #2
Vadim Sh.
https://codereview.chromium.org/2501023002/diff/1/cipd/client/cipd/client.go File cipd/client/cipd/client.go (right): https://codereview.chromium.org/2501023002/diff/1/cipd/client/cipd/client.go#newcode683 cipd/client/cipd/client.go:683: if err := cache.AddTag(pin, version); err != nil { ...
4 years, 1 month ago (2016-11-16 00:09:30 UTC) #3
iannucci
ptal! https://codereview.chromium.org/2501023002/diff/1/cipd/client/cipd/client.go File cipd/client/cipd/client.go (right): https://codereview.chromium.org/2501023002/diff/1/cipd/client/cipd/client.go#newcode683 cipd/client/cipd/client.go:683: if err := cache.AddTag(pin, version); err != nil ...
4 years, 1 month ago (2016-11-16 00:45:12 UTC) #4
Vadim Sh.
lgtm
4 years, 1 month ago (2016-11-16 00:48:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2501023002/20001
4 years, 1 month ago (2016-11-16 00:51:08 UTC) #7
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 00:57:04 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://github.com/luci/luci-go/commit/7409ae3d13816767573247cee751b0e7372ab0c2

Powered by Google App Engine
This is Rietveld 408576698