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

Issue 2861583003: Enable sequential prefix index logs to be loaded. (Closed)

Created:
3 years, 7 months ago by dnj
Modified:
3 years, 7 months ago
Reviewers:
nodir, hinoka
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Enable sequential prefix index logs to be loaded. The LogDog viewer requires at least one log from each muxing stream to know which one is sequentially next. For timestamp-based comparison, this is a hard requirement, since the next log in any given stream could be sequentially next. However, for prefix index-based comparison, the viewer could know that a log from another buffer is next if its prefix index is contiguous. Enable this inference in the viewer: if a log stream buffer holds a prefix index that is one more than the last buffered log, allow it to be considered as the next log, even if other buffers are empty. BUG=chromium:703428 TEST=prod Review-Url: https://codereview.chromium.org/2861583003 Committed: https://github.com/luci/luci-go/commit/2944f11ecd9ab8b74ccdde28c5a6bd01a488aa85

Patch Set 1 #

Total comments: 6

Patch Set 2 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -20 lines) Patch
M web/inc/logdog-stream-view/viewer.ts View 1 7 chunks +92 lines, -20 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
dnj
PTAL
3 years, 7 months ago (2017-05-03 02:24:05 UTC) #2
hinoka
lgtm https://codereview.chromium.org/2861583003/diff/1/web/inc/logdog-stream-view/viewer.ts File web/inc/logdog-stream-view/viewer.ts (right): https://codereview.chromium.org/2861583003/diff/1/web/inc/logdog-stream-view/viewer.ts#newcode1001 web/inc/logdog-stream-view/viewer.ts:1001: * LogSorter is used to extract sorted logs ...
3 years, 7 months ago (2017-05-03 17:16:58 UTC) #3
dnj
https://codereview.chromium.org/2861583003/diff/1/web/inc/logdog-stream-view/viewer.ts File web/inc/logdog-stream-view/viewer.ts (right): https://codereview.chromium.org/2861583003/diff/1/web/inc/logdog-stream-view/viewer.ts#newcode1001 web/inc/logdog-stream-view/viewer.ts:1001: * LogSorter is used to extract sorted logs from ...
3 years, 7 months ago (2017-05-03 19:09:28 UTC) #4
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/2861583003/20001
3 years, 7 months ago (2017-05-03 19:09:36 UTC) #7
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 19:16:11 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://github.com/luci/luci-go/commit/2944f11ecd9ab8b74ccdde28c5a6bd01a488aa85

Powered by Google App Engine
This is Rietveld 408576698