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

Issue 397443004: Skip oversized logs when persisting logs instead of discarding them. (Closed)

Created:
6 years, 5 months ago by Steven Holte
Modified:
6 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Skip oversized logs when persisting logs instead of discarding them. BUG=372911 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284826

Patch Set 1 #

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Remove SIZE_MAX #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -41 lines) Patch
M components/metrics/persisted_logs.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M components/metrics/persisted_logs.cc View 1 2 3 4 5 3 chunks +25 lines, -38 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Steven Holte
6 years, 5 months ago (2014-07-15 01:46:58 UTC) #1
Steven Holte
6 years, 5 months ago (2014-07-15 01:47:14 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/397443004/diff/20001/components/metrics/persisted_logs.cc File components/metrics/persisted_logs.cc (right): https://codereview.chromium.org/397443004/diff/20001/components/metrics/persisted_logs.cc#newcode89 components/metrics/persisted_logs.cc:89: max_log_size_(max_log_size ? max_log_size : static_cast<size_t>(-1)), Can you use SIZE_MAX ...
6 years, 5 months ago (2014-07-15 18:53:00 UTC) #3
Steven Holte
https://codereview.chromium.org/397443004/diff/20001/components/metrics/persisted_logs.cc File components/metrics/persisted_logs.cc (right): https://codereview.chromium.org/397443004/diff/20001/components/metrics/persisted_logs.cc#newcode89 components/metrics/persisted_logs.cc:89: max_log_size_(max_log_size ? max_log_size : static_cast<size_t>(-1)), On 2014/07/15 18:52:59, Alexei ...
6 years, 5 months ago (2014-07-15 20:23:03 UTC) #4
Steven Holte
https://codereview.chromium.org/397443004/diff/20001/components/metrics/persisted_logs.cc File components/metrics/persisted_logs.cc (right): https://codereview.chromium.org/397443004/diff/20001/components/metrics/persisted_logs.cc#newcode172 components/metrics/persisted_logs.cc:172: // Oversized logs won't be persisted, so don't count ...
6 years, 5 months ago (2014-07-15 20:25:47 UTC) #5
Alexei Svitkine (slow)
LGTM
6 years, 5 months ago (2014-07-16 15:35:24 UTC) #6
Steven Holte
The CQ bit was checked by holte@chromium.org
6 years, 5 months ago (2014-07-16 16:55:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/holte@chromium.org/397443004/80001
6 years, 5 months ago (2014-07-16 16:58:32 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_gn_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 21:20:54 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-16 22:03:21 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_gn_rel/builds/26463)
6 years, 5 months ago (2014-07-16 22:03:22 UTC) #11
Alexei Svitkine (slow)
On 2014/07/16 22:03:22, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 5 months ago (2014-07-22 20:59:37 UTC) #12
Steven Holte
On 2014/07/22 20:59:37, Alexei Svitkine wrote: > On 2014/07/16 22:03:22, I haz the power (commit-bot) ...
6 years, 5 months ago (2014-07-22 21:10:43 UTC) #13
Steven Holte
The CQ bit was checked by holte@chromium.org
6 years, 5 months ago (2014-07-22 21:32:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/holte@chromium.org/397443004/100001
6 years, 5 months ago (2014-07-22 21:33:57 UTC) #15
commit-bot: I haz the power
6 years, 5 months ago (2014-07-23 01:39:42 UTC) #16
Message was sent while issue was closed.
Change committed as 284826

Powered by Google App Engine
This is Rietveld 408576698