[Rpm-maint] [rpm-software-management/rpm] Set an extremely high sqlite3 timeout (#1743)

Demi Marie Obenour notifications at github.com
Fri Jul 2 13:34:47 UTC 2021


> We must avoid the "database is locked" errors at every cost because
> otherwise the rpmdb gets corrupted and system ends up in inconsistent
> state.

This looks to me like RPM is misusing of the SQLite API.  I would expect RPM to keep an SQLite transaction open while the RPM transaction is in progress, and commit the SQLite transaction if the RPM transaction is successful.  Otherwise, the SQLite transaction would rollback.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1743#issuecomment-873003048
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210702/41e11a5f/attachment.html>


More information about the Rpm-maint mailing list