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

Issue 113373002: Unrevert r245135 "Created new Windows LevelDB environment." (Closed)

Created:
7 years ago by cmumford
Modified:
6 years, 11 months ago
CC:
chromium-reviews, jam, alecflett, joi+watch-content_chromium.org, darin-cc_chromium.org, dgrogan
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

The original implementation was syncing file contents to disk when only a flush was required. BUG=222623 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247279

Patch Set 1 #

Total comments: 27

Patch Set 2 : Win32 -> Win and formatting changes. #

Patch Set 3 : Posix -> Stdio, -ChromiumEnvDelegate, Header/copyright cleanup. #

Total comments: 2

Patch Set 4 : IDB env always Win32, and other requested changes. #

Total comments: 2

Patch Set 5 : Rebase on TOT and upload in an attempt to fix base URL. #

Patch Set 6 : Fixed performance issue: no longer syncing in Flush(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1024 lines, -481 lines) Patch
M third_party/leveldatabase/README.chromium View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M third_party/leveldatabase/env_chromium.h View 1 2 3 4 chunks +16 lines, -50 lines 0 comments Download
M third_party/leveldatabase/env_chromium.cc View 1 2 3 4 7 chunks +74 lines, -426 lines 0 comments Download
A third_party/leveldatabase/env_chromium_stdio.h View 1 2 3 1 chunk +73 lines, -0 lines 0 comments Download
A third_party/leveldatabase/env_chromium_stdio.cc View 1 2 3 1 chunk +380 lines, -0 lines 0 comments Download
M third_party/leveldatabase/env_chromium_unittest.cc View 1 2 3 4 chunks +36 lines, -4 lines 0 comments Download
A third_party/leveldatabase/env_chromium_win.h View 1 2 1 chunk +79 lines, -0 lines 0 comments Download
A third_party/leveldatabase/env_chromium_win.cc View 1 2 3 4 5 1 chunk +356 lines, -0 lines 0 comments Download
M third_party/leveldatabase/leveldatabase.gyp View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
cmumford
dgrogan@chromium.org: Please review changes in alecflett@chromium.org: Please review changes in jsbell@chromium.org: Please review changes in ...
7 years ago (2013-12-11 22:46:06 UTC) #1
jsbell
Just some initial notes. The side-by-side diff isn't working; did the upload choke? https://codereview.chromium.org/113373002/diff/1/third_party/leveldatabase/env_chromium_posix.cc File ...
7 years ago (2013-12-12 01:11:42 UTC) #2
cmumford
Address Josh's comments. https://codereview.chromium.org/113373002/diff/1/third_party/leveldatabase/env_chromium_posix.cc File third_party/leveldatabase/env_chromium_posix.cc (right): https://codereview.chromium.org/113373002/diff/1/third_party/leveldatabase/env_chromium_posix.cc#newcode261 third_party/leveldatabase/env_chromium_posix.cc:261: ChromiumEnvPosix::ChromiumEnvPosix() { On 2013/12/12 01:11:42, jsbell ...
7 years ago (2013-12-12 17:40:50 UTC) #3
jsbell
https://codereview.chromium.org/113373002/diff/1/third_party/leveldatabase/env_chromium_posix.cc File third_party/leveldatabase/env_chromium_posix.cc (right): https://codereview.chromium.org/113373002/diff/1/third_party/leveldatabase/env_chromium_posix.cc#newcode261 third_party/leveldatabase/env_chromium_posix.cc:261: ChromiumEnvPosix::ChromiumEnvPosix() { It's more about how the terms "win" ...
7 years ago (2013-12-12 18:11:40 UTC) #4
jsbell
On 2013/12/12 01:11:42, jsbell wrote: > The side-by-side diff isn't working; did the upload choke? ...
7 years ago (2013-12-12 18:12:48 UTC) #5
jsbell
Sorry for the very scattered feedback. It's taking a while for things to soak in. ...
7 years ago (2013-12-12 19:03:13 UTC) #6
cmumford
https://codereview.chromium.org/113373002/diff/1/third_party/leveldatabase/env_chromium_posix.cc File third_party/leveldatabase/env_chromium_posix.cc (right): https://codereview.chromium.org/113373002/diff/1/third_party/leveldatabase/env_chromium_posix.cc#newcode261 third_party/leveldatabase/env_chromium_posix.cc:261: ChromiumEnvPosix::ChromiumEnvPosix() { On 2013/12/12 18:11:41, jsbell wrote: > It's ...
7 years ago (2013-12-12 19:37:46 UTC) #7
dgrogan
https://codereview.chromium.org/113373002/diff/1/third_party/leveldatabase/env_chromium_posix.cc File third_party/leveldatabase/env_chromium_posix.cc (right): https://codereview.chromium.org/113373002/diff/1/third_party/leveldatabase/env_chromium_posix.cc#newcode261 third_party/leveldatabase/env_chromium_posix.cc:261: ChromiumEnvPosix::ChromiumEnvPosix() { On 2013/12/12 19:37:46, cmumford wrote: > TL;DR ...
7 years ago (2013-12-12 19:39:56 UTC) #8
jsbell
On 2013/12/12 19:39:56, dgrogan wrote: > https://codereview.chromium.org/113373002/diff/1/third_party/leveldatabase/env_chromium_posix.cc > File third_party/leveldatabase/env_chromium_posix.cc (right): > > https://codereview.chromium.org/113373002/diff/1/third_party/leveldatabase/env_chromium_posix.cc#newcode261 > ...
7 years ago (2013-12-12 19:40:42 UTC) #9
cmumford
https://codereview.chromium.org/113373002/diff/1/third_party/leveldatabase/env_chromium.h File third_party/leveldatabase/env_chromium.h (right): https://codereview.chromium.org/113373002/diff/1/third_party/leveldatabase/env_chromium.h#newcode100 third_party/leveldatabase/env_chromium.h:100: class ChromiumEnvDelegate On 2013/12/12 19:03:14, jsbell wrote: > It's ...
7 years ago (2013-12-12 20:08:38 UTC) #10
cmumford
On 2013/12/12 19:03:13, jsbell wrote: > Sorry for the very scattered feedback. It's taking a ...
7 years ago (2013-12-12 23:06:35 UTC) #11
jsbell
Oops, meant to send this nit yesterday: https://codereview.chromium.org/113373002/diff/40001/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc File content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc (right): https://codereview.chromium.org/113373002/diff/40001/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc#newcode14 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc:14: #include "third_party/leveldatabase/env_chromium_stdio.h" ...
7 years ago (2013-12-13 23:07:50 UTC) #12
cmumford
https://codereview.chromium.org/113373002/diff/40001/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc File content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc (right): https://codereview.chromium.org/113373002/diff/40001/content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc#newcode14 content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc:14: #include "third_party/leveldatabase/env_chromium_stdio.h" On 2013/12/13 23:07:50, jsbell wrote: > This ...
6 years, 11 months ago (2013-12-30 21:20:06 UTC) #13
dgrogan
Are you waiting for approval of this CL or do you have outstanding local changes ...
6 years, 11 months ago (2014-01-07 01:38:41 UTC) #14
cmumford
David: I have no outstanding local changes, and am waiting for the final LGTM. Please ...
6 years, 11 months ago (2014-01-07 18:43:37 UTC) #15
dgrogan
lgtm
6 years, 11 months ago (2014-01-08 00:54:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cmumford@chromium.org/113373002/140001
6 years, 11 months ago (2014-01-16 03:33:58 UTC) #17
commit-bot: I haz the power
Change committed as 245135
6 years, 11 months ago (2014-01-16 05:20:30 UTC) #18
cmumford
A revert of this CL has been created in https://codereview.chromium.org/140923005/ by cmumford@chromium.org. The reason for ...
6 years, 11 months ago (2014-01-16 18:36:54 UTC) #19
cmumford
I fixed the performance issue. I should have never been calling FlushFileBuffers in ChromiumWritableFile::Flush(). I ...
6 years, 11 months ago (2014-01-17 19:20:42 UTC) #20
cmumford
ping: still needing lgtm
6 years, 11 months ago (2014-01-27 03:32:23 UTC) #21
dgrogan
lgtm
6 years, 11 months ago (2014-01-27 16:33:11 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cmumford@chromium.org/113373002/490001
6 years, 11 months ago (2014-01-27 16:45:44 UTC) #23
commit-bot: I haz the power
6 years, 11 months ago (2014-01-27 19:34:21 UTC) #24
Message was sent while issue was closed.
Change committed as 247279

Powered by Google App Engine
This is Rietveld 408576698