> 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
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to