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

Issue 10928227: Make database failures in LeveldbValueStore more descriptive. (Closed)

Created:
8 years, 3 months ago by not at google - send to devlin
Modified:
8 years, 3 months ago
Reviewers:
dgrogan, Matt Perry
CC:
chromium-reviews, benwells, Aaron Boodman, Yoyo Zhou, dgrogan, jsbell
Visibility:
Public.

Description

Make database failures in LeveldbValueStore more descriptive. Note that I initially intentionally didn't do this so that extensions didn't get any unnecessary information. However, it will help with bug reports. BUG=149888 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157713

Patch Set 1 #

Patch Set 2 : fix inverted condition #

Total comments: 3

Patch Set 3 : make comments even better #

Patch Set 4 : remove ternary ifs, ms doesnt like #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -85 lines) Patch
M chrome/browser/value_store/leveldb_value_store.h View 1 chunk +10 lines, -12 lines 0 comments Download
M chrome/browser/value_store/leveldb_value_store.cc View 1 2 3 13 chunks +118 lines, -73 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
not at google - send to devlin
Not 100% sure I like it, but WDYT? Should I try to add some UMA ...
8 years, 3 months ago (2012-09-17 06:38:40 UTC) #1
not at google - send to devlin
Btw +dgrogran in case you have any insight into things that might not be failures, ...
8 years, 3 months ago (2012-09-17 06:39:25 UTC) #2
Matt Perry
LGTM. https://codereview.chromium.org/10928227/diff/2001/chrome/browser/value_store/leveldb_value_store.cc File chrome/browser/value_store/leveldb_value_store.cc (right): https://codereview.chromium.org/10928227/diff/2001/chrome/browser/value_store/leveldb_value_store.cc#newcode240 chrome/browser/value_store/leveldb_value_store.cc:240: return WriteFailureForKey("set multi (read)", it.key(), read_error); since this ...
8 years, 3 months ago (2012-09-17 19:21:35 UTC) #3
dgrogan
It's been a while since I looked at leveldb failures, but what you have seems ...
8 years, 3 months ago (2012-09-17 19:46:20 UTC) #4
not at google - send to devlin
Thanks David. I added an inline comment with details. I'll pick this up either today ...
8 years, 3 months ago (2012-09-17 22:17:36 UTC) #5
dgrogan
lgtm We'd be curious to know what you find with this.
8 years, 3 months ago (2012-09-19 21:05:47 UTC) #6
not at google - send to devlin
https://codereview.chromium.org/10928227/diff/2001/chrome/browser/value_store/leveldb_value_store.cc File chrome/browser/value_store/leveldb_value_store.cc (right): https://codereview.chromium.org/10928227/diff/2001/chrome/browser/value_store/leveldb_value_store.cc#newcode240 chrome/browser/value_store/leveldb_value_store.cc:240: return WriteFailureForKey("set multi (read)", it.key(), read_error); On 2012/09/17 19:21:35, ...
8 years, 3 months ago (2012-09-20 00:11:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10928227/10001
8 years, 3 months ago (2012-09-20 00:12:13 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-20 00:34:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/10928227/14002
8 years, 3 months ago (2012-09-20 02:50:27 UTC) #10
commit-bot: I haz the power
8 years, 3 months ago (2012-09-20 05:58:25 UTC) #11
Change committed as 157713

Powered by Google App Engine
This is Rietveld 408576698