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

Issue 1276923003: logdog: Add bundler library. (Closed)

Created:
5 years, 4 months ago by dnj
Modified:
5 years, 1 month ago
CC:
andrew.wang, chromium-reviews, M-A Ruel, tandrii(chromium), todd
Base URL:
https://github.com/luci/luci-go@logdog-review-streamserver
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

logdog: Add bundler library. BUG=

Patch Set 1 : #

Total comments: 51

Patch Set 2 : Addressed code review comments. #

Total comments: 9

Patch Set 3 : More documentation, simplified "bundlerStream" struct. #

Total comments: 13

Patch Set 4 : Rewrote bundle logic (and associated updates). #

Total comments: 18

Patch Set 5 : Updated from review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1111 lines, -0 lines) Patch
A client/internal/logdog/butler/bundler/bundler.go View 1 2 3 4 1 chunk +85 lines, -0 lines 0 comments Download
A client/internal/logdog/butler/bundler/bundler_impl.go View 1 2 3 4 1 chunk +277 lines, -0 lines 0 comments Download
A client/internal/logdog/butler/bundler/bundler_test.go View 1 2 3 4 1 chunk +394 lines, -0 lines 0 comments Download
A client/internal/logdog/butler/bundler/doc.go View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
A client/internal/logdog/butler/bundler/sizer_fast.go View 1 2 3 1 chunk +179 lines, -0 lines 0 comments Download
A client/internal/logdog/butler/bundler/sizer_fast_test.go View 1 2 3 4 1 chunk +150 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
dnj
PTAL
5 years, 4 months ago (2015-08-06 22:34:57 UTC) #2
tandrii(chromium)
haven't looked at tests yet. https://codereview.chromium.org/1276923003/diff/40001/client/internal/logdog/butler/bundler/bundler.go File client/internal/logdog/butler/bundler/bundler.go (right): https://codereview.chromium.org/1276923003/diff/40001/client/internal/logdog/butler/bundler/bundler.go#newcode13 client/internal/logdog/butler/bundler/bundler.go:13: // Sizer is the ...
5 years, 4 months ago (2015-08-11 14:06:08 UTC) #6
dnj (Google)
Hey! Thanks for the thorough review. I've updated things to hopefully be both cleaner and ...
5 years, 4 months ago (2015-08-11 16:24:01 UTC) #8
tandrii(chromium)
lgtm % 2 suggestions + 2 nits https://codereview.chromium.org/1276923003/diff/40001/client/internal/logdog/butler/bundler/bundler_impl.go File client/internal/logdog/butler/bundler/bundler_impl.go (right): https://codereview.chromium.org/1276923003/diff/40001/client/internal/logdog/butler/bundler/bundler_impl.go#newcode15 client/internal/logdog/butler/bundler/bundler_impl.go:15: type bundlerStream ...
5 years, 4 months ago (2015-08-11 17:32:23 UTC) #9
dnj
https://codereview.chromium.org/1276923003/diff/40001/client/internal/logdog/butler/bundler/bundler_impl.go File client/internal/logdog/butler/bundler/bundler_impl.go (right): https://codereview.chromium.org/1276923003/diff/40001/client/internal/logdog/butler/bundler/bundler_impl.go#newcode38 client/internal/logdog/butler/bundler/bundler_impl.go:38: func New(c Config) Bundler { On 2015/08/11 17:32:22, tandrii(chromium) ...
5 years, 4 months ago (2015-08-11 18:14:28 UTC) #13
tandrii(chromium)
lgtm https://codereview.chromium.org/1276923003/diff/40001/client/internal/logdog/butler/bundler/bundler_impl.go File client/internal/logdog/butler/bundler/bundler_impl.go (right): https://codereview.chromium.org/1276923003/diff/40001/client/internal/logdog/butler/bundler/bundler_impl.go#newcode38 client/internal/logdog/butler/bundler/bundler_impl.go:38: func New(c Config) Bundler { On 2015/08/11 18:14:27, ...
5 years, 4 months ago (2015-08-11 18:31:05 UTC) #14
dnj (Google)
Alright, I really hate to do this. However, your comment on the "count = 0" ...
5 years, 4 months ago (2015-08-12 03:20:09 UTC) #15
iannucci
https://chromiumcodereview.appspot.com/1276923003/diff/160001/client/internal/logdog/butler/bundler/bundler.go File client/internal/logdog/butler/bundler/bundler.go (right): https://chromiumcodereview.appspot.com/1276923003/diff/160001/client/internal/logdog/butler/bundler/bundler.go#newcode41 client/internal/logdog/butler/bundler/bundler.go:41: // Undo reversed the most recent Append. reverses? Can ...
5 years, 3 months ago (2015-09-01 03:03:22 UTC) #16
dnj
https://chromiumcodereview.appspot.com/1276923003/diff/140001/client/internal/logdog/butler/bundler/bundler_impl.go File client/internal/logdog/butler/bundler/bundler_impl.go (right): https://chromiumcodereview.appspot.com/1276923003/diff/140001/client/internal/logdog/butler/bundler/bundler_impl.go#newcode54 client/internal/logdog/butler/bundler/bundler_impl.go:54: logs := e.GetLogs() On 2015/08/11 18:31:05, tandrii(chromium) wrote: > ...
5 years, 3 months ago (2015-09-02 01:58:15 UTC) #17
dnj
5 years, 1 month ago (2015-11-03 19:06:11 UTC) #19
Message was sent while issue was closed.
Closing in favor of Bundler rework: https://codereview.chromium.org/1412063008/

Powered by Google App Engine
This is Rietveld 408576698