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

Issue 862723002: leveldb: Moved to LevelDBEnv.IOError.BFE histogram entries. (Closed)

Created:
5 years, 11 months ago by cmumford
Modified:
5 years, 9 months ago
Reviewers:
dgrogan, Mark P
CC:
asvitkine+watch_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

leveldb: Moved to LevelDBEnv.IOError.BFE histogram entries. When Chrome's leveldb Env (ChromiumEnv) switched to using base::File for I/O, in crrev.com/710373002, it also (unintentionally) switched some logged histogram values from errno to base::File::Error. Prior to r305020 some values were logged with errno values, others with PlatformFileError values, and still others with Windows Error values (i.e. GetLastError()). The Windows values were introduced in r245135 - also uintentionally. Teasing these apart is too difficult now so switching to a new set of histograms reporting base::File::Error's. BUG=431914 Committed: https://crrev.com/58023982f5703b46008206f83f534d45dfd481de Cr-Commit-Position: refs/heads/master@{#322054}

Patch Set 1 #

Total comments: 6

Patch Set 2 : BFE -> PFE, combined histograms, & obsoleted some others. #

Patch Set 3 : Rebased on jsbell's change to remove errno parsing. #

Total comments: 19

Patch Set 4 : Added back in IndexedDBLevelDBPFEMethods, fixed dates, misc. #

Total comments: 4

Patch Set 5 : Fixed several obsolete messages to refer to correct histograms. #

Patch Set 6 : Rebased on ToT (to very pretty histograms.xml) - no changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -11 lines) Patch
M content/browser/indexed_db/leveldb/leveldb_database.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/leveldatabase/env_chromium.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M third_party/leveldatabase/env_chromium.cc View 1 2 3 4 5 7 chunks +10 lines, -7 lines 0 comments Download
M third_party/leveldatabase/env_chromium_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 14 chunks +121 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (11 generated)
cmumford
dgrogan for review, jsbell for FYI Here is a second start at fixing the IDB ...
5 years, 11 months ago (2015-01-20 17:27:11 UTC) #2
dgrogan
The approach of starting new histograms to replace the old and slightly borked ones is ...
5 years, 11 months ago (2015-01-21 01:47:57 UTC) #3
cmumford
https://codereview.chromium.org/862723002/diff/1/third_party/leveldatabase/env_chromium.cc File third_party/leveldatabase/env_chromium.cc (right): https://codereview.chromium.org/862723002/diff/1/third_party/leveldatabase/env_chromium.cc#newcode534 third_party/leveldatabase/env_chromium.cc:534: uma_ioerror_base_name_ = name_ + ".IOError.PFE"; On 2015/01/21 01:47:56, dgrogan ...
5 years, 10 months ago (2015-02-13 22:15:53 UTC) #4
cmumford
No new changes - just rebased on jsbell's changes to remove errno parsing.
5 years, 10 months ago (2015-02-23 16:10:26 UTC) #5
jsbell
dgrogan should really review this Also will need histograms.xml owner review https://codereview.chromium.org/862723002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): ...
5 years, 9 months ago (2015-03-02 18:37:05 UTC) #6
dgrogan
https://codereview.chromium.org/862723002/diff/40001/third_party/leveldatabase/env_chromium.cc File third_party/leveldatabase/env_chromium.cc (right): https://codereview.chromium.org/862723002/diff/40001/third_party/leveldatabase/env_chromium.cc#newcode964 third_party/leveldatabase/env_chromium.cc:964: base::HistogramBase* ChromiumEnv::GetMethodIOErrorHistogram() const { It looks like this one ...
5 years, 9 months ago (2015-03-14 05:57:37 UTC) #7
cmumford
/git_cl.py crashed during the upload, but this patch looks intact. https://codereview.chromium.org/862723002/diff/40001/third_party/leveldatabase/env_chromium.cc File third_party/leveldatabase/env_chromium.cc (right): https://codereview.chromium.org/862723002/diff/40001/third_party/leveldatabase/env_chromium.cc#newcode964 ...
5 years, 9 months ago (2015-03-17 21:25:53 UTC) #8
dgrogan
lgtm
5 years, 9 months ago (2015-03-19 00:46:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/862723002/60001
5 years, 9 months ago (2015-03-19 17:47:34 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/50802)
5 years, 9 months ago (2015-03-19 17:55:44 UTC) #13
cmumford
+mpearson, Sorry: forgot to add an owner for histograms.xml
5 years, 9 months ago (2015-03-19 19:23:03 UTC) #15
Mark P
https://codereview.chromium.org/862723002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/862723002/diff/60001/tools/metrics/histograms/histograms.xml#newcode12558 tools/metrics/histograms/histograms.xml:12558: + Deprecated 2015-05. As of M43 use LevelDBEnv.IDB.BFE.NewLogger. This ...
5 years, 9 months ago (2015-03-19 20:12:59 UTC) #16
cmumford
Thx Mark. https://codereview.chromium.org/862723002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/862723002/diff/60001/tools/metrics/histograms/histograms.xml#newcode12558 tools/metrics/histograms/histograms.xml:12558: + Deprecated 2015-05. As of M43 use ...
5 years, 9 months ago (2015-03-19 20:45:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/862723002/80001
5 years, 9 months ago (2015-03-19 20:45:46 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/50853)
5 years, 9 months ago (2015-03-19 20:52:51 UTC) #22
Mark P
histograms.xml lgtm
5 years, 9 months ago (2015-03-19 22:03:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/862723002/80001
5 years, 9 months ago (2015-03-19 22:04:07 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/50882)
5 years, 9 months ago (2015-03-19 22:10:58 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/862723002/100001
5 years, 9 months ago (2015-03-24 18:13:08 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 9 months ago (2015-03-24 20:01:28 UTC) #31
commit-bot: I haz the power
5 years, 9 months ago (2015-03-24 20:02:35 UTC) #32
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/58023982f5703b46008206f83f534d45dfd481de
Cr-Commit-Position: refs/heads/master@{#322054}

Powered by Google App Engine
This is Rietveld 408576698