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

Phil Dibowitz notifications at github.com
Wed Jun 14 01:18:52 UTC 2017


To be clear we hit thus hundreds of times a day on Linux servers running RPM from rawhide.

Hundreds. Of. Times. A. Day.

We have remediations that pause all config management and then run db_recovers and if necessary rpm rebuilds.

Because the rpmdb is completely fucked -- `rpm -qa` doesn't work, as seen before.

```
$ rpm -q libdb
libdb-5.3.21-19.el7.x86_64
$ rpm -q rpm
rpm-4.13.0-1.el7.centos.fb3.x86_64
```

There are two causes we've found - one is RPMs fault, one isn't. The most common is exactly the one described here. This one is RPMs fault.

The other is heavily IO loaded boxes were the transactions take too long and get killed by another process and the rpmdb can't recover from that. This isn't RPMs fault... though it being more resilient would be nice.

-- 
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-308292205
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170613/100aa0b7/attachment.html>


More information about the Rpm-maint mailing list