New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 592101 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocking:
issue 455749



Sign in to add a comment

Consider removing SQLITE_NO_SYNC

Project Member Reported by abodenha@chromium.org, Mar 4 2016

Issue description

third_party/sqlite/sqlite.gyp (and related gn file) contains this:
            [ 'chromeos==1' , {
              'defines': [
                # Despite obvious warnings about not using this flag in
                # deployment, we are turning off sync in ChromeOS and relying on
                # the underlying journaling filesystem to do error recovery
                # properly.  It's much faster.
                'SQLITE_NO_SYNC',
              ],
            }],

 bug 455749  implies that this might not be entirely safe.

We should:
1: Investigate if SQLITE_NO_SYNC is really safe today.
2: If it isn't, either make it safe or remove it.
 
Cc: xiy...@chromium.org sh...@chromium.org
Owner: afakhry@chromium.org
Status: Assigned (was: Untriaged)
Project Member

Comment 2 by bugdroid1@chromium.org, May 9 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d53cc59b6781b26babf0721fc9c001a32b3dada8

commit d53cc59b6781b26babf0721fc9c001a32b3dada8
Author: afakhry <afakhry@chromium.org>
Date: Mon May 09 23:45:36 2016

Remove SQLITE_NO_SYNC on Chrome OS

We agreed to remove this flag as the underlying FS doesn't seem to be
able to reliably recover from corruption when a crash or panic occurs
(see crbug.com/502898).

BUG= 592101 
TEST= Check the "Profile.ProfileError" metric to determine the impact of this flag removal.

Review-Url: https://codereview.chromium.org/1961823003
Cr-Commit-Position: refs/heads/master@{#392477}

[modify] https://crrev.com/d53cc59b6781b26babf0721fc9c001a32b3dada8/third_party/sqlite/BUILD.gn
[modify] https://crrev.com/d53cc59b6781b26babf0721fc9c001a32b3dada8/third_party/sqlite/sqlite.gyp

Status: Fixed (was: Assigned)
We'll need to monitor the "Profile.ProfileError" metric.
Status: Verified (was: Fixed)
Bulk verified

Sign in to add a comment