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

Issue 1874563005: Archivist asserts completeness through keys scan. (Closed)

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

Description

Archivist asserts completeness through keys scan. Currently, when the Archivist needs to archive a complete stream, it attempts to do an archival and fails if records are missing. This is fairly expensive, as the full archival requires Google Storage operations and potentially large amounts of Intermediate Storage data being pulled. A bad case is when the missing log entry is the last one in a very long stream. This takes advantage of the new Storage keys-only Get support to assert completeness up-front via a keys-only scan of the log stream. This improves archival speeds in failure cases and simplifies archival logic. BUG= Committed: https://github.com/luci/luci-go/commit/98a579258ed1e62f2a70edd718e947c08eb6ddee

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Remove unused members. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -105 lines) Patch
M server/internal/logdog/archivist/archivist.go View 1 2 7 chunks +63 lines, -36 lines 0 comments Download
M server/internal/logdog/archivist/archivist_test.go View 1 4 chunks +5 lines, -3 lines 0 comments Download
M server/internal/logdog/archivist/storageSource.go View 4 chunks +4 lines, -24 lines 0 comments Download
M server/logdog/storage/bigtable/bigtable.go View 1 4 chunks +8 lines, -23 lines 0 comments Download
M server/logdog/storage/bigtable/bigtable_test.go View 1 2 chunks +0 lines, -19 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 8 (4 generated)
dnj
PTAL
4 years, 8 months ago (2016-04-08 19:52:55 UTC) #2
iannucci
lgtm
4 years, 8 months ago (2016-04-14 01:13:41 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1874563005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1874563005/40001
4 years, 8 months ago (2016-04-20 18:46:16 UTC) #6
commit-bot: I haz the power
4 years, 8 months ago (2016-04-20 18:52:50 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/luci-go/commit/98a579258ed1e62f2a70edd718e947c08eb6ddee

Powered by Google App Engine
This is Rietveld 408576698