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

Florian Festi notifications at github.com
Fri Jul 2 13:58:52 UTC 2021


> 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.

This is not how RPM works. The RPM transaction is transaction by name only. As we are putting files down on disk there is no role back. So for the rpmdb doing things package by package is correct.


-- 
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-873019950
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210702/5855da07/attachment.html>


More information about the Rpm-maint mailing list