Enable F_BARRIERFSYNC in SQLite

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.

Activity

Show:

CB robot July 7, 2022 at 12:49 AM

Build couchbase-lite-c-3.0.2-29 contains couchbase-lite-core commit 6fb3bfc with commit message:
: Enable F_BARRIERFSYNC on macOS / iOS (#1491)

CB robot June 28, 2022 at 3:57 AM

Build couchbase-lite-ios-3.0.2-18 contains couchbase-lite-core commit 6fb3bfc with commit message:
: Enable F_BARRIERFSYNC on macOS / iOS (#1491)

CB robot June 16, 2022 at 4:46 PM

Build couchbase-lite-java-3.0.2-9 contains couchbase-lite-core commit 6fb3bfc with commit message:
: Enable F_BARRIERFSYNC on macOS / iOS (#1491)

CB robot June 16, 2022 at 4:46 PM

Build couchbase-lite-android-3.0.2-10 contains couchbase-lite-core commit 6fb3bfc with commit message:
: Enable F_BARRIERFSYNC on macOS / iOS (#1491)

CB robot June 14, 2022 at 3:44 AM

Build couchbase-lite-net-3.0.2-2 contains couchbase-lite-net commit 2f262e2 with commit message:
Update LiteCore to Commit: 6fb3bfc417b100fbc65b6c762f4c2d78b9b6ed6c [6fb3bfc] (: Enable F_BARRIERFSYNC on macOS / iOS)

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 31, 2022 at 11:40 PM
Updated August 31, 2024 at 10:56 AM
Resolved June 10, 2022 at 10:29 PM
Instabug