Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-3222

Enable F_BARRIERFSYNC in SQLite

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.2
    • 2.8.5
    • LiteCore
    • Security Level: Public
    • None
    • 1

    Description

      This will require a small edit to SQLite (one line, find the F_FULLFSYNC usage and change to F_BARRIERFSYNC) and then using PRAGMA fullfsync = ON. WIthout this change, a hard reset of an iOS device (and likely any device) can cause file corruption of the database.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jimb Jim Borden
              jimb Jim Borden
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty