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

Issue 2506773002: [IndexedDB] Integrating failures and corruption with transaction (Closed)

Created:
4 years, 1 month ago by dmurph
Modified:
4 years ago
Reviewers:
cmumford
CC:
chromium-reviews, jam, jsbell+idb_chromium.org, darin-cc_chromium.org, cmumford
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[IndexedDB] Integrating failures and corruption with transaction R=cmumford@chromium.org BUG=363397, 662246 Committed: https://crrev.com/50ab051b3e40c25d39262bca9b71395d20632dc9 Cr-Commit-Position: refs/heads/master@{#435089}

Patch Set 1 #

Total comments: 18

Patch Set 2 : comments & fix #

Patch Set 3 : test debugging #

Patch Set 4 : test fix #

Patch Set 5 : rebase #

Patch Set 6 : windows fix #

Patch Set 7 : Corruption message sanitation #

Patch Set 8 : rebase #

Patch Set 9 : removed extra log statements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+462 lines, -384 lines) Patch
M content/browser/indexed_db/indexed_db_backing_store.h View 1 2 3 4 5 2 chunks +11 lines, -9 lines 0 comments Download
M content/browser/indexed_db/indexed_db_backing_store.cc View 1 2 3 4 5 22 chunks +54 lines, -75 lines 0 comments Download
M content/browser/indexed_db/indexed_db_cursor.h View 1 2 3 2 chunks +11 lines, -10 lines 0 comments Download
M content/browser/indexed_db/indexed_db_cursor.cc View 1 2 3 9 chunks +66 lines, -24 lines 0 comments Download
M content/browser/indexed_db/indexed_db_database.h View 1 2 3 4 5 6 7 4 chunks +53 lines, -56 lines 0 comments Download
M content/browser/indexed_db/indexed_db_database.cc View 1 2 3 4 5 6 7 8 48 chunks +96 lines, -150 lines 0 comments Download
M content/browser/indexed_db/indexed_db_database_unittest.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_factory_impl.cc View 1 2 3 4 5 6 2 chunks +9 lines, -2 lines 0 comments Download
M content/browser/indexed_db/indexed_db_fake_backing_store.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_fake_backing_store.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M content/browser/indexed_db/indexed_db_transaction.h View 1 2 3 4 5 6 7 7 chunks +15 lines, -12 lines 0 comments Download
M content/browser/indexed_db/indexed_db_transaction.cc View 1 2 3 4 5 6 7 15 chunks +54 lines, -21 lines 0 comments Download
M content/browser/indexed_db/indexed_db_transaction_unittest.cc View 1 2 3 4 9 chunks +87 lines, -18 lines 0 comments Download
M content/browser/indexed_db/indexed_db_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 51 (37 generated)
dmurph
Hi Chris, I know that this isn't passing all tests yet, but can you PTAL ...
4 years, 1 month ago (2016-11-16 23:55:50 UTC) #5
cmumford
I don't see a problem with this approach - only minor comments. Can you add ...
4 years, 1 month ago (2016-11-21 18:29:22 UTC) #6
cmumford
dmurph: Take a look at https://codereview.chromium.org/2519073003/ which returns a tuple(db,status) instead of an out status ...
4 years, 1 month ago (2016-11-22 17:37:11 UTC) #7
dmurph
On 2016/11/22 17:37:11, cmumford wrote: > dmurph: Take a look at https://codereview.chromium.org/2519073003/ which returns > ...
4 years, 1 month ago (2016-11-22 18:24:22 UTC) #8
dmurph
Let me know what you think. I don't want to do a ton of cleanup ...
4 years, 1 month ago (2016-11-22 23:33:11 UTC) #11
cmumford
Looking good - just one comment on dataLossMessage. https://codereview.chromium.org/2506773002/diff/1/content/browser/indexed_db/indexed_db_backing_store.h File content/browser/indexed_db/indexed_db_backing_store.h (right): https://codereview.chromium.org/2506773002/diff/1/content/browser/indexed_db/indexed_db_backing_store.h#newcode354 content/browser/indexed_db/indexed_db_backing_store.h:354: // ...
4 years ago (2016-11-28 20:48:25 UTC) #24
dmurph
We now sanitize the corruption messages :)
4 years ago (2016-11-28 21:47:17 UTC) #26
cmumford
lgtm - thx for the last fix.
4 years ago (2016-11-28 21:52:45 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2506773002/120001
4 years ago (2016-11-29 18:02:02 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/314632)
4 years ago (2016-11-29 18:12:48 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2506773002/140001
4 years ago (2016-11-29 18:52:31 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2506773002/160001
4 years ago (2016-11-29 20:10:28 UTC) #47
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years ago (2016-11-29 22:14:02 UTC) #49
commit-bot: I haz the power
4 years ago (2016-11-29 22:17:32 UTC) #51
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/50ab051b3e40c25d39262bca9b71395d20632dc9
Cr-Commit-Position: refs/heads/master@{#435089}

Powered by Google App Engine
This is Rietveld 408576698