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

Issue 19281002: [sql] Scoped recovery framework. (Closed)

Created:
7 years, 5 months ago by Scott Hess - ex-Googler
Modified:
7 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

[sql] Scoped recovery framework. sql::Recovery is intended to be used within a sql::Connection error callback to either recover the database (*) or indicate that the database is unrecoverable and should be razed. The intend is that the code should either progress to a valid database which is composed of data recovered from the original (likely corrupt) database, or a valid database which is empty. This is just the framework without the SQLite-level data-recovery virtual table. BUG=109482 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212607

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase to match Open() retry logic. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+637 lines, -9 lines) Patch
M sql/connection.h View 1 5 chunks +37 lines, -6 lines 0 comments Download
M sql/connection.cc View 1 5 chunks +64 lines, -3 lines 0 comments Download
M sql/connection_unittest.cc View 1 1 chunk +93 lines, -0 lines 0 comments Download
A sql/recovery.h View 1 chunk +106 lines, -0 lines 0 comments Download
A sql/recovery.cc View 1 chunk +189 lines, -0 lines 0 comments Download
A sql/recovery_unittest.cc View 1 chunk +145 lines, -0 lines 0 comments Download
M sql/sql.gyp View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Scott Hess - ex-Googler
Apologies if there are big holes in here - I'm finding myself repeatedly circling and ...
7 years, 5 months ago (2013-07-15 21:10:34 UTC) #1
erikwright (departed)
LGTM. Only question is whether it's really the case for all of our databases that ...
7 years, 5 months ago (2013-07-17 00:06:03 UTC) #2
Scott Hess - ex-Googler
On 2013/07/17 00:06:03, erikwright wrote: > LGTM. Only question is whether it's really the case ...
7 years, 5 months ago (2013-07-17 00:31:32 UTC) #3
Scott Hess - ex-Googler
On 2013/07/17 00:31:32, shess wrote: > On 2013/07/17 00:06:03, erikwright wrote: > > LGTM. Only ...
7 years, 5 months ago (2013-07-17 00:35:16 UTC) #4
erikwright (departed)
Sgtm. Thanks for the explanation. On Jul 16, 2013 5:35 PM, <shess@chromium.org> wrote: > On ...
7 years, 5 months ago (2013-07-17 01:41:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/19281002/1
7 years, 5 months ago (2013-07-17 16:38:34 UTC) #6
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-17 18:05:14 UTC) #7
Scott Hess - ex-Googler
On 2013/07/17 18:05:14, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 5 months ago (2013-07-17 19:21:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/19281002/32001
7 years, 5 months ago (2013-07-17 19:37:24 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=136695
7 years, 5 months ago (2013-07-18 00:52:21 UTC) #10
Scott Hess - ex-Googler
On 2013/07/18 00:52:21, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 5 months ago (2013-07-19 16:39:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/19281002/32001
7 years, 5 months ago (2013-07-19 16:39:42 UTC) #12
commit-bot: I haz the power
7 years, 5 months ago (2013-07-19 18:25:31 UTC) #13
Message was sent while issue was closed.
Change committed as 212607

Powered by Google App Engine
This is Rietveld 408576698