1. Fatal DB Lock: `sqlite3.OperationalError: database is locked`
Critical ErrorOccurs when an external sync script or AnkiConnect instance triggers a secondary write operation while a primary background vacuum or sync task is actively holding the SQLite handle.
mw.col.db.execute() transaction locks and implement exponential backoff retry parameters within the local sync routine.