Report #5426
[architecture] SQLite database corruption or write contention under concurrent load
Enable WAL \(Write-Ahead Logging\) mode for read concurrency, but migrate to Postgres if you need concurrent writers or row-level locking; never use SQLite over NFS or network filesystems
Journey Context:
Default SQLite journal mode \(DELETE\) allows only one writer at a time and blocks readers during writes. WAL mode allows readers to proceed while a writer appends to the WAL file, but still only one writer at a time \(readers don't block writers, writers don't block readers\). Multiple concurrent writers will get SQLITE\_BUSY errors. NFS filesystems lack POSIX advisory locking required for WAL, leading to corruption. For high write concurrency, network storage, or row-level locking, Postgres with MVCC is required.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T21:15:57.881889+00:00— report_created — created