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

Issue 1975683002: LogDog: Implement prefix registration in Butler. (Closed)

Created:
4 years, 7 months ago by dnj
Modified:
4 years, 6 months ago
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-collector
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

LogDog: Implement prefix registration in Butler. Implement the prefix registration protocol in Butler. The Butler will now connect to the "RegisterPrefix" endpoint on creation to register its prefix and obtain its stream creation secret for that prefix. This causes output creation to happen immediately before process spawning. Secret is now an optional parameter and supplied by the Coordinator. Do some Butler code cleanup and reorganization now that its final form is taking shape. BUG= Committed: https://github.com/luci/luci-go/commit/64d2557248bd6211b50d7f636cc87388227b47c4

Patch Set 1 #

Patch Set 2 : Updated patchset dependency #

Total comments: 5

Patch Set 3 : Removed client retries. #

Patch Set 4 : Updated patchset dependency #

Patch Set 5 : Updated patchset dependency #

Patch Set 6 : Rebarse #

Unified diffs Side-by-side diffs Delta from patch set Stats (+330 lines, -231 lines) Patch
M client/cmd/logdog_butler/main.go View 13 chunks +30 lines, -88 lines 0 comments Download
M client/cmd/logdog_butler/output.go View 3 chunks +19 lines, -0 lines 0 comments Download
M client/cmd/logdog_butler/output_log.go View 1 chunk +2 lines, -0 lines 0 comments Download
A client/cmd/logdog_butler/output_logdog.go View 1 2 3 4 5 1 chunk +204 lines, -0 lines 0 comments Download
D client/cmd/logdog_butler/output_pubsub.go View 1 2 3 4 5 1 chunk +0 lines, -108 lines 0 comments Download
M client/cmd/logdog_butler/subcommand_run.go View 3 chunks +13 lines, -3 lines 0 comments Download
M client/cmd/logdog_butler/subcommand_serve.go View 1 chunk +9 lines, -1 line 0 comments Download
M client/cmd/logdog_butler/subcommand_stream.go View 1 chunk +9 lines, -1 line 0 comments Download
M client/internal/logdog/butler/bundler/bundler.go View 2 chunks +0 lines, -3 lines 0 comments Download
M client/internal/logdog/butler/butler.go View 3 chunks +0 lines, -7 lines 0 comments Download
M client/internal/logdog/butler/butler_test.go View 2 chunks +0 lines, -2 lines 0 comments Download
M client/internal/logdog/butler/output/pubsub/pubsubOutput.go View 1 2 3 4 5 3 chunks +5 lines, -0 lines 0 comments Download
M server/internal/logdog/collector/coordinator/cache.go View 1 2 3 4 5 5 chunks +20 lines, -16 lines 0 comments Download
M server/internal/logdog/collector/coordinator/cache_test.go View 1 2 3 4 5 2 chunks +19 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
dnj (Google)
PTAL. See chain of CLs for context. After this, Butler will be able to fully ...
4 years, 7 months ago (2016-05-12 02:43:27 UTC) #2
nodir
"This moves output creation to immediately" "be" missing?
4 years, 7 months ago (2016-05-19 01:38:12 UTC) #4
nodir
https://codereview.chromium.org/1975683002/diff/20001/client/cmd/logdog_butler/output_logdog.go File client/cmd/logdog_butler/output_logdog.go (right): https://codereview.chromium.org/1975683002/diff/20001/client/cmd/logdog_butler/output_logdog.go#newcode187 client/cmd/logdog_butler/output_logdog.go:187: err := retry.Retry(ctx, retry.TransientOnly(retry.Default), func() (err error) { I ...
4 years, 7 months ago (2016-05-19 02:04:44 UTC) #5
dnj (Google)
https://codereview.chromium.org/1975683002/diff/20001/client/cmd/logdog_butler/output_logdog.go File client/cmd/logdog_butler/output_logdog.go (right): https://codereview.chromium.org/1975683002/diff/20001/client/cmd/logdog_butler/output_logdog.go#newcode187 client/cmd/logdog_butler/output_logdog.go:187: err := retry.Retry(ctx, retry.TransientOnly(retry.Default), func() (err error) { On ...
4 years, 7 months ago (2016-05-19 02:09:36 UTC) #7
nodir
lgtm https://codereview.chromium.org/1975683002/diff/20001/client/cmd/logdog_butler/output_logdog.go File client/cmd/logdog_butler/output_logdog.go (right): https://codereview.chromium.org/1975683002/diff/20001/client/cmd/logdog_butler/output_logdog.go#newcode188 client/cmd/logdog_butler/output_logdog.go:188: resp, err = rc.inner.RegisterPrefix(ctx, req) On 2016/05/19 02:09:35, ...
4 years, 7 months ago (2016-05-19 16:46:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1975683002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1975683002/100001
4 years, 6 months ago (2016-05-27 16:53:45 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 16:58:25 UTC) #13
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://github.com/luci/luci-go/commit/64d2557248bd6211b50d7f636cc87388227b47c4

Powered by Google App Engine
This is Rietveld 408576698