[Rpm-maint] [rpm-software-management/rpm] Rpm query causes corruption in the file-backed mmaped bdb regions (#232)

Panu Matilainen notifications at github.com
Tue Feb 13 09:40:10 UTC 2018


> I can also easily back port the core fix to the problem reported here, implemented years ago @rpm5.org:
>
>   when DB_RUNRECOVERY is returned opening a BDB dbenv, then do the recovery by setting a flag, and repeating the open one time, thereby running recovery.

DB_RECOVER requires DB_INIT_TXN, which is incompatible with DB_INIT_CDB that rpm.org still uses. And enabling TXN on BDB runs into all sorts of fun with BDB log file paths across chroots, requires additional infra in the code etc and whatnot. All solvable issues no doubt, but it piles up so it's not this entirely trivial "just try reopen with a different flag" thing from the CDB mode starting point.

-- 
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/issues/232#issuecomment-365207745
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180213/6e9fe5fd/attachment-0001.html>


More information about the Rpm-maint mailing list