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

Issue 1025433003: leveldb: Reuse manifest (AKA logs) during open. (Closed)

Created:
5 years, 9 months ago by cmumford
Modified:
5 years, 9 months ago
Reviewers:
jam, nhiroki
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, davemoore+watch_chromium.org, extensions-reviews_chromium.org, hashimoto+watch_chromium.org, horo+watch_chromium.org, jsbell+serviceworker_chromium.org, kinuko+watch, kinuko+serviceworker, kinuko+fileapi, maniscalco+watch_chromium.org, maxbogue+watch_chromium.org, michaeln, oshima+watch_chromium.org, plaree+watch_chromium.org, pvalenzuela+watch_chromium.org, serviceworker-reviews, stevenjb+watch_chromium.org, tfarina, tim+watch_chromium.org, tzik, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

leveldb: Reuse manifest (AKA logs) during open. All leveldb uses now set the reuse_logs option to trigger a new fast open path. For db's with prior changes (i.e. non-empty logs) this avoids three fsync calls (on average) for every open as well as the need to compact (rewrite) the db. More info at: https://github.com/google/leveldb/commit/251ebf5dc70129ad3c38193fe6c99a5b0ec6b9fa BUG=468810 Committed: https://crrev.com/4050991eae26c33acb1c1996fe1900b43ae0fa13 Cr-Commit-Position: refs/heads/master@{#322433}

Patch Set 1 #

Patch Set 2 : Added leveldb_env::kDefaultLogReuseOptionValue #

Patch Set 3 : Using leveldb_env::kDefaultLogReuseOptionValue for IDB #

Total comments: 1

Patch Set 4 : Deleted redundant DEPS path #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -2 lines) Patch
M chrome/browser/chromeos/drive/resource_metadata_storage.cc View 1 4 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/prefs/leveldb_pref_store.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/metadata_database.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/sync_file_system/local/local_file_change_tracker.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M components/leveldb_proto/DEPS View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/leveldb_proto/leveldb_database.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/dom_storage/session_storage_database.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/indexed_db/leveldb/leveldb_database.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/notifications/notification_database.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_database.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M extensions/browser/value_store/leveldb_value_store.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M google_apis/gcm/engine/gcm_store_impl.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M storage/browser/fileapi/sandbox_directory_database.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M storage/browser/fileapi/sandbox_origin_database.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M sync/internal_api/attachments/on_disk_attachment_store.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/leveldatabase/env_chromium.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
cmumford
This new setting is already in use by IDB in M41 (all platforms except CrOS). ...
5 years, 9 months ago (2015-03-19 17:45:23 UTC) #2
cmumford
On 2015/03/19 at 17:45:23, cmumford wrote: > This new setting is already in use by ...
5 years, 9 months ago (2015-03-19 18:50:22 UTC) #3
nhiroki
LGTM for... - chrome/browser/sync_file_system/ - content/browser/service_worker/ - storage/browser/fileapi/ > For db's with prior changes (i.e. ...
5 years, 9 months ago (2015-03-20 00:20:24 UTC) #4
jam
what do you want me to review?
5 years, 9 months ago (2015-03-23 16:28:53 UTC) #5
cmumford
On 2015/03/23 at 16:28:53, jam wrote: > what do you want me to review? jam, ...
5 years, 9 months ago (2015-03-23 16:37:25 UTC) #6
jam
lgtm https://codereview.chromium.org/1025433003/diff/40001/components/leveldb_proto/DEPS File components/leveldb_proto/DEPS (right): https://codereview.chromium.org/1025433003/diff/40001/components/leveldb_proto/DEPS#newcode2 components/leveldb_proto/DEPS:2: "+third_party/leveldatabase/src/include", this isn't needed anymore
5 years, 9 months ago (2015-03-26 15:40:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1025433003/60001
5 years, 9 months ago (2015-03-26 16:42:36 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-26 18:28:49 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 18:29:44 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4050991eae26c33acb1c1996fe1900b43ae0fa13
Cr-Commit-Position: refs/heads/master@{#322433}

Powered by Google App Engine
This is Rietveld 408576698