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

Issue 803603004: IndexedDB: Reusing leveldb logs when opening database (Closed)

Created:
6 years ago by cmumford
Modified:
6 years ago
CC:
chromium-reviews, darin-cc_chromium.org, dgrogan, jsbell+idb_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

IndexedDB: Reusing leveldb logs when opening database This change activates a new open mode in leveldb which reuses logs & manifest to reduce time to open database. This affects only Indexed DB databases, not other leveldb's opened elsewhere. BUG=402980, 395799 Committed: https://crrev.com/de701abea081c633b69c05f797bb9587e825c6bd Cr-Commit-Position: refs/heads/master@{#308493}

Patch Set 1 #

Patch Set 2 : Added implementation of leveldb::Env::NewAppendableFile #

Total comments: 4

Patch Set 3 : Fixed UMA logging for NewAppendableFile #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
M content/browser/indexed_db/leveldb/leveldb_database.cc View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/leveldatabase/env_chromium.h View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
M third_party/leveldatabase/env_chromium.cc View 1 2 2 chunks +18 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +2 lines, -0 lines 3 comments Download

Messages

Total messages: 19 (7 generated)
jsbell
lgtm
6 years ago (2014-12-15 06:37:48 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/803603004/1
6 years ago (2014-12-15 16:04:52 UTC) #4
cmumford
jsbell@: I missed one important thing; the implementation of leveldb::Env::NewAppendableFile leveldb::Env has one which returns ...
6 years ago (2014-12-15 17:29:20 UTC) #6
jsbell
Needs tools/metrics/histograms/histograms.xml update and the new enum value needs to be inserted at the end. ...
6 years ago (2014-12-15 17:41:23 UTC) #7
cmumford
+jar for histograms.xml review. https://codereview.chromium.org/803603004/diff/20001/third_party/leveldatabase/env_chromium.cc File third_party/leveldatabase/env_chromium.cc (right): https://codereview.chromium.org/803603004/diff/20001/third_party/leveldatabase/env_chromium.cc#newcode915 third_party/leveldatabase/env_chromium.cc:915: } else { On 2014/12/15 ...
6 years ago (2014-12-15 18:08:36 UTC) #9
jsbell
code still lgtm, histogram errno enums may require some follow-up cleanup. https://codereview.chromium.org/803603004/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): ...
6 years ago (2014-12-15 18:37:46 UTC) #10
cmumford
All issues addressed, just waiting on jar's review of histogram.xml https://codereview.chromium.org/803603004/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/803603004/diff/40001/tools/metrics/histograms/histograms.xml#newcode58882 ...
6 years ago (2014-12-15 18:40:55 UTC) #11
cmumford
On 2014/12/15 18:40:55, cmumford wrote: > All issues addressed, just waiting on jar's review of ...
6 years ago (2014-12-15 23:25:39 UTC) #13
jar (doing other things)
histograms.xml (and associated histogram naming) LGTM
6 years ago (2014-12-16 00:22:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/803603004/40001
6 years ago (2014-12-16 00:26:33 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-16 01:29:15 UTC) #18
commit-bot: I haz the power
6 years ago (2014-12-16 01:30:02 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/de701abea081c633b69c05f797bb9587e825c6bd
Cr-Commit-Position: refs/heads/master@{#308493}

Powered by Google App Engine
This is Rietveld 408576698