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

Issue 2827673006: [sql] Verify control of close-time WAL checkpoint. (Closed)

Created:
3 years, 8 months ago by Scott Hess - ex-Googler
Modified:
3 years, 8 months ago
Reviewers:
pwnall
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[sql] Verify control of close-time WAL checkpoint. SQLite WAL mode by default checkpoints the WAL to the main database at close time. Chromium closes databases at shutdown, which causes shutdown slowdowns due to buffered data being flushed. WAL checkpointing would effectively increase the amount of buffered data being flushed. [WAL mode is currently not in use by Chromium.] BUG=675264 Review-Url: https://codereview.chromium.org/2827673006 Cr-Commit-Position: refs/heads/master@{#465772} Committed: https://chromium.googlesource.com/chromium/src/+/f7fcc45c7cfb05f8fed045d38153792baba57e89

Patch Set 1 #

Patch Set 2 : comment tweaks #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -21 lines) Patch
M sql/connection.h View 1 chunk +1 line, -0 lines 0 comments Download
M sql/sqlite_features_unittest.cc View 1 6 chunks +57 lines, -21 lines 5 comments Download

Messages

Total messages: 17 (8 generated)
Scott Hess - ex-Googler
comment tweaks
3 years, 8 months ago (2017-04-18 23:50:35 UTC) #1
Scott Hess - ex-Googler
Found this CL lying around. Originally it was a patch backported from SQLite, but I've ...
3 years, 8 months ago (2017-04-18 23:52:41 UTC) #5
Scott Hess - ex-Googler
https://codereview.chromium.org/2827673006/diff/20001/sql/sqlite_features_unittest.cc File sql/sqlite_features_unittest.cc (right): https://codereview.chromium.org/2827673006/diff/20001/sql/sqlite_features_unittest.cc#newcode464 sql/sqlite_features_unittest.cc:464: TEST_F(SQLiteFeaturesTest, WALNoClose) { Um, this is the main test ...
3 years, 8 months ago (2017-04-18 23:53:39 UTC) #6
pwnall
LGTM https://codereview.chromium.org/2827673006/diff/20001/sql/sqlite_features_unittest.cc File sql/sqlite_features_unittest.cc (right): https://codereview.chromium.org/2827673006/diff/20001/sql/sqlite_features_unittest.cc#newcode460 sql/sqlite_features_unittest.cc:460: #if !defined(USE_SYSTEM_SQLITE) Would tests fail anywhere if we ...
3 years, 8 months ago (2017-04-19 20:02:23 UTC) #9
Scott Hess - ex-Googler
https://codereview.chromium.org/2827673006/diff/20001/sql/sqlite_features_unittest.cc File sql/sqlite_features_unittest.cc (right): https://codereview.chromium.org/2827673006/diff/20001/sql/sqlite_features_unittest.cc#newcode460 sql/sqlite_features_unittest.cc:460: #if !defined(USE_SYSTEM_SQLITE) On 2017/04/19 20:02:23, pwnall wrote: > Would ...
3 years, 8 months ago (2017-04-19 20:15:33 UTC) #10
pwnall
https://codereview.chromium.org/2827673006/diff/20001/sql/sqlite_features_unittest.cc File sql/sqlite_features_unittest.cc (right): https://codereview.chromium.org/2827673006/diff/20001/sql/sqlite_features_unittest.cc#newcode460 sql/sqlite_features_unittest.cc:460: #if !defined(USE_SYSTEM_SQLITE) On 2017/04/19 20:15:33, Scott Hess wrote: > ...
3 years, 8 months ago (2017-04-19 20:56:54 UTC) #11
Scott Hess - ex-Googler
OK, I had thought that the Mojo case maybe needed testing (there is a subtle ...
3 years, 8 months ago (2017-04-19 22:03:17 UTC) #13
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/2827673006/20001
3 years, 8 months ago (2017-04-19 22:03:45 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 22:10:56 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f7fcc45c7cfb05f8fed045d38153...

Powered by Google App Engine
This is Rietveld 408576698