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

Issue 1748933002: Retry RPC deadlines when fetching GAE settings. (Closed)

Created:
4 years, 9 months ago by Vadim Sh.
Modified:
4 years, 9 months ago
Reviewers:
dnj, iannucci
CC:
andrew.wang, chromium-reviews, infra-reviews+luci-go_chromium.org, M-A Ruel, tandrii+luci-go_chromium.org, todd
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-go@simplify-lazyslot
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Retry RPC deadlines when fetching GAE settings. Should eliminate rare panics during initial settings fetch. R=dnj@chromium.org BUG=590594 Committed: https://github.com/luci/luci-go/commit/af6c7eaa57f2d353a135df9b61c6401144bb5c9e

Patch Set 1 : retry-fetch #

Patch Set 2 : use clock tags to properly advance time in test #

Total comments: 2

Patch Set 3 : "rebase" #

Total comments: 2

Patch Set 4 : move retry to settings.go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -14 lines) Patch
M common/lazyslot/lazyslot.go View 1 2 3 4 chunks +15 lines, -7 lines 0 comments Download
M server/settings/settings.go View 1 2 3 2 chunks +23 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Vadim Sh.
4 years, 9 months ago (2016-03-01 00:09:35 UTC) #2
Vadim Sh.
Robbie, this is the test with discussed in https://github.com/luci/luci-go/issues/11. PTAL.
4 years, 9 months ago (2016-03-01 00:28:17 UTC) #4
iannucci
https://codereview.chromium.org/1748933002/diff/40001/common/lazyslot/lazyslot.go File common/lazyslot/lazyslot.go (right): https://codereview.chromium.org/1748933002/diff/40001/common/lazyslot/lazyslot.go#newcode49 common/lazyslot/lazyslot.go:49: RetryCallback retry.Callback // called before retries, useful in tests ...
4 years, 9 months ago (2016-03-01 00:44:21 UTC) #5
Vadim Sh.
rebased, ptal https://codereview.chromium.org/1748933002/diff/40001/common/lazyslot/lazyslot.go File common/lazyslot/lazyslot.go (right): https://codereview.chromium.org/1748933002/diff/40001/common/lazyslot/lazyslot.go#newcode49 common/lazyslot/lazyslot.go:49: RetryCallback retry.Callback // called before retries, useful ...
4 years, 9 months ago (2016-03-01 01:24:05 UTC) #6
dnj
https://codereview.chromium.org/1748933002/diff/60001/server/settings/settings.go File server/settings/settings.go (right): https://codereview.chromium.org/1748933002/diff/60001/server/settings/settings.go#newcode124 server/settings/settings.go:124: c, _ = clock.WithTimeout(c, 2*time.Second) // trigger a retry ...
4 years, 9 months ago (2016-03-01 02:21:40 UTC) #7
Vadim Sh.
PTAL https://codereview.chromium.org/1748933002/diff/60001/server/settings/settings.go File server/settings/settings.go (right): https://codereview.chromium.org/1748933002/diff/60001/server/settings/settings.go#newcode124 server/settings/settings.go:124: c, _ = clock.WithTimeout(c, 2*time.Second) // trigger a ...
4 years, 9 months ago (2016-03-02 22:52:04 UTC) #8
dnj
lgtm
4 years, 9 months ago (2016-03-02 23:04:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1748933002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1748933002/80001
4 years, 9 months ago (2016-03-02 23:10:05 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-02 23:19:02 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://github.com/luci/luci-go/commit/af6c7eaa57f2d353a135df9b61c6401144bb5c9e

Powered by Google App Engine
This is Rietveld 408576698