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

Issue 2038933002: Drop diagnostics reference to out-dated database. (Closed)

Created:
4 years, 6 months ago by Scott Hess - ex-Googler
Modified:
4 years, 6 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Drop diagnostics reference to out-dated database. In 2010, the Thumbnails database was migrated to Favicons. The diagnostics code still refers to Thumbnails. At some point, Thumbnails has become a directory containing a leveldb. Attempting to open a directory as a SQLite database fails with SQLITE_CANTOPEN, causing the diagnostics code to generate red herrings. Rename the "thumbnails" cases to "favicons". Also add in "Top Sites", which was missing from the diagnostics code. BUG=617226 Committed: https://crrev.com/d31f1808e5bd040d54aca2b7a2a6c9767b5860ec Cr-Commit-Position: refs/heads/master@{#397949}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update diagnostic test count. #

Patch Set 3 : Oops, missed the by-name histograms that were in there. #

Total comments: 2

Patch Set 4 : Restore thumbnails as obsolete, add favicons as new. #

Patch Set 5 : Own a bunch of diagnostics histograms #

Total comments: 2

Patch Set 6 : comma to semicolon #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -27 lines) Patch
M chrome/browser/diagnostics/diagnostics_metrics.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/diagnostics/diagnostics_metrics.cc View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/diagnostics/diagnostics_model.cc View 1 4 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/diagnostics/sqlite_diagnostics.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/diagnostics/sqlite_diagnostics.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 12 chunks +62 lines, -12 lines 0 comments Download

Messages

Total messages: 34 (9 generated)
Scott Hess - ex-Googler
cpu@ for chrome/browser/diagnostics/OWNERS mpearson@ for tools/metrics/histograms/OWNERS https://codereview.chromium.org/2038933002/diff/1/chrome/browser/diagnostics/diagnostics_metrics.cc File chrome/browser/diagnostics/diagnostics_metrics.cc (right): https://codereview.chromium.org/2038933002/diff/1/chrome/browser/diagnostics/diagnostics_metrics.cc#newcode53 chrome/browser/diagnostics/diagnostics_metrics.cc:53: {"SQLiteIntegrityTopSites", "Top Sites ...
4 years, 6 months ago (2016-06-03 21:15:31 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2038933002/1
4 years, 6 months ago (2016-06-03 21:16:34 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/180858) mac_chromium_rel_ng on ...
4 years, 6 months ago (2016-06-03 21:43:47 UTC) #6
Mark P
Hmmm. It sounds like you're saying that the "SQLite Integrity Thumbnails Test" entry in the ...
4 years, 6 months ago (2016-06-03 21:54:55 UTC) #7
Scott Hess - ex-Googler
Update diagnostic test count.
4 years, 6 months ago (2016-06-03 21:56:03 UTC) #8
Scott Hess - ex-Googler
Oops, missed the by-name histograms that were in there.
4 years, 6 months ago (2016-06-03 21:57:57 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2038933002/40001
4 years, 6 months ago (2016-06-03 21:59:05 UTC) #11
Scott Hess - ex-Googler
On 2016/06/03 21:54:55, Mark P wrote: > It sounds like you're saying that the "SQLite ...
4 years, 6 months ago (2016-06-03 22:03:23 UTC) #12
Mark P
On 2016/06/03 22:03:23, Scott Hess wrote: > On 2016/06/03 21:54:55, Mark P wrote: > > ...
4 years, 6 months ago (2016-06-03 22:06:40 UTC) #13
Mark P
https://codereview.chromium.org/2038933002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2038933002/diff/40001/tools/metrics/histograms/histograms.xml#newcode8572 tools/metrics/histograms/histograms.xml:8572: + <owner>Please list the metric's owners. Add more owner ...
4 years, 6 months ago (2016-06-03 22:06:54 UTC) #14
Scott Hess - ex-Googler
On 2016/06/03 22:03:23, Scott Hess wrote: > On 2016/06/03 21:54:55, Mark P wrote: > > ...
4 years, 6 months ago (2016-06-03 22:16:09 UTC) #15
Scott Hess - ex-Googler
On 2016/06/03 22:06:40, Mark P wrote: > Given that the old bucket is correctly labeled ...
4 years, 6 months ago (2016-06-03 22:30:41 UTC) #16
Scott Hess - ex-Googler
Restore thumbnails as obsolete, add favicons as new.
4 years, 6 months ago (2016-06-03 22:46:58 UTC) #17
Scott Hess - ex-Googler
Own a bunch of diagnostics histograms
4 years, 6 months ago (2016-06-03 22:50:25 UTC) #18
Scott Hess - ex-Googler
Scott Hess wrote: > Restore thumbnails as obsolete, add favicons as new. > Own a ...
4 years, 6 months ago (2016-06-03 22:51:19 UTC) #19
Scott Hess - ex-Googler
https://codereview.chromium.org/2038933002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2038933002/diff/40001/tools/metrics/histograms/histograms.xml#newcode8572 tools/metrics/histograms/histograms.xml:8572: + <owner>Please list the metric's owners. Add more owner ...
4 years, 6 months ago (2016-06-03 22:51:35 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2038933002/80001
4 years, 6 months ago (2016-06-03 22:52:33 UTC) #22
cpu_(ooo_6.6-7.5)
diagnostics/* lgtm
4 years, 6 months ago (2016-06-03 23:43:40 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-04 00:17:26 UTC) #25
Mark P
minor nit, otherwise histograms.xml lgtm --mark https://codereview.chromium.org/2038933002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2038933002/diff/80001/tools/metrics/histograms/histograms.xml#newcode8389 tools/metrics/histograms/histograms.xml:8389: + Deprecated 05/2016 ...
4 years, 6 months ago (2016-06-04 04:11:19 UTC) #26
Scott Hess - ex-Googler
thanks! https://codereview.chromium.org/2038933002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2038933002/diff/80001/tools/metrics/histograms/histograms.xml#newcode8389 tools/metrics/histograms/histograms.xml:8389: + Deprecated 05/2016 in Issue 617226, has not ...
4 years, 6 months ago (2016-06-04 21:30:51 UTC) #27
Scott Hess - ex-Googler
comma to semicolon
4 years, 6 months ago (2016-06-04 21:31:03 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2038933002/100001
4 years, 6 months ago (2016-06-04 21:32:03 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-05 20:12:09 UTC) #32
commit-bot: I haz the power
4 years, 6 months ago (2016-06-05 20:13:35 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d31f1808e5bd040d54aca2b7a2a6c9767b5860ec
Cr-Commit-Position: refs/heads/master@{#397949}

Powered by Google App Engine
This is Rietveld 408576698