On 02/01/2016 11:26 AM, Richard W.M. Jones wrote: > On Mon, Feb 01, 2016 at 11:13:08AM +0100, Florian Weimer wrote: >> On 02/01/2016 10:59 AM, Richard W.M. Jones wrote: >> >>> Even if the RPM database is only accessed via librpm, it's still >>> important that the most central database present on every Fedora >>> system is reliable, well-tested and flexible. Sqlite is a highly >>> regarded piece of software, which runs on billions of Android phones. >> >> That's a strange argument because SQLite is optimized for the mobile use >> case, where durability is not a concern: >> >> <http://article.gmane.org/gmane.comp.db.sqlite.general/99223> > > I don't see that this posting backs up what you are saying. Of course > databases don't perform the impossible - you have to wait for the > commit to succeed before the data is persisted, anything else requires > backup power supplies and redundant disks. But sqlite is much more > likely to be durable than some hand-written brand new code.
Please read the thread. SQLite does not persist the unlink operation on the journal, and an existing valid journal file triggers transaction rollback. Florian -- devel mailing list devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org