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

Enable F_BARRIERFSYNC in SQLite

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.1.0
    • 2.8.5
    • LiteCore
    • Security Level: Public
    • None
    • Jim 75
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty