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

Issue 1972753002: LogDog: Implement prefix expiration. (Closed)

Created:
4 years, 7 months ago by dnj
Modified:
4 years, 7 months ago
Reviewers:
dnj (Google), nodir, hinoka
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, andrew.wang, todd, tandrii+luci-go_chromium.org, M-A Ruel
Base URL:
https://github.com/luci/luci-go@logdog-butler-register-coordinator-impl
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

LogDog: Implement prefix expiration. Implement prefix space expiration. Previously, this field was present in the protobuf, but not implemented. This enforces that new stream creation will fail a predefined period of time after a prefix space has been created. This value is the minimum of the value specified in the project config, service config, and prefix registration. BUG= Committed: https://github.com/luci/luci-go/commit/b168ce94eae6864e845a5bb71b4ac7718cd8cd79

Patch Set 1 #

Patch Set 2 : Updated patchset dependency #

Total comments: 5

Patch Set 3 : Added migration strategy. #

Patch Set 4 : Updated patchset dependency #

Patch Set 5 : Updated patchset dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -7 lines) Patch
M appengine/logdog/coordinator/coordinatorTest/logStream.go View 1 chunk +6 lines, -5 lines 0 comments Download
M appengine/logdog/coordinator/endpoints/registration/registerPrefix.go View 1 2 3 3 chunks +19 lines, -0 lines 0 comments Download
M appengine/logdog/coordinator/endpoints/registration/registerPrefix_test.go View 1 5 chunks +69 lines, -2 lines 0 comments Download
M appengine/logdog/coordinator/endpoints/services/registerStream.go View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M appengine/logdog/coordinator/endpoints/services/registerStream_test.go View 1 1 chunk +7 lines, -0 lines 0 comments Download
M appengine/logdog/coordinator/logPrefix.go View 1 chunk +4 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 13 (5 generated)
dnj (Google)
PTAL
4 years, 7 months ago (2016-05-11 22:52:09 UTC) #2
nodir
https://codereview.chromium.org/1972753002/diff/20001/appengine/logdog/coordinator/endpoints/services/registerStream.go File appengine/logdog/coordinator/endpoints/services/registerStream.go (right): https://codereview.chromium.org/1972753002/diff/20001/appengine/logdog/coordinator/endpoints/services/registerStream.go#newcode123 appengine/logdog/coordinator/endpoints/services/registerStream.go:123: if now := clock.Now(c); !now.Before(pfx.Expiration) { I am not ...
4 years, 7 months ago (2016-05-19 00:54:00 UTC) #4
dnj (Google)
Added a migration strategy, should work! https://codereview.chromium.org/1972753002/diff/20001/appengine/logdog/coordinator/endpoints/services/registerStream.go File appengine/logdog/coordinator/endpoints/services/registerStream.go (right): https://codereview.chromium.org/1972753002/diff/20001/appengine/logdog/coordinator/endpoints/services/registerStream.go#newcode123 appengine/logdog/coordinator/endpoints/services/registerStream.go:123: if now := ...
4 years, 7 months ago (2016-05-19 02:06:19 UTC) #5
nodir
https://codereview.chromium.org/1972753002/diff/20001/appengine/logdog/coordinator/endpoints/services/registerStream.go File appengine/logdog/coordinator/endpoints/services/registerStream.go (right): https://codereview.chromium.org/1972753002/diff/20001/appengine/logdog/coordinator/endpoints/services/registerStream.go#newcode123 appengine/logdog/coordinator/endpoints/services/registerStream.go:123: if now := clock.Now(c); !now.Before(pfx.Expiration) { On 2016/05/19 02:06:19, ...
4 years, 7 months ago (2016-05-19 03:06:33 UTC) #6
dnj (Google)
https://codereview.chromium.org/1972753002/diff/20001/appengine/logdog/coordinator/endpoints/services/registerStream.go File appengine/logdog/coordinator/endpoints/services/registerStream.go (right): https://codereview.chromium.org/1972753002/diff/20001/appengine/logdog/coordinator/endpoints/services/registerStream.go#newcode123 appengine/logdog/coordinator/endpoints/services/registerStream.go:123: if now := clock.Now(c); !now.Before(pfx.Expiration) { On 2016/05/19 03:06:33, ...
4 years, 7 months ago (2016-05-19 03:20:07 UTC) #7
nodir
OK lgtm
4 years, 7 months ago (2016-05-19 05:29:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972753002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972753002/80001
4 years, 7 months ago (2016-05-26 17:04:18 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 17:12:56 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://github.com/luci/luci-go/commit/b168ce94eae6864e845a5bb71b4ac7718cd8cd79

Powered by Google App Engine
This is Rietveld 408576698