1 SQLite acquires an exclusive lock on the database file before committing changes to prevent concurrent reads during writes.
“getting an exclusive lock on the database because as I said earlier in rollback mode reads cannot be occurring when a write is occurring”