Created attachment 897574 [details]
Fix for bdb issue #3514381
Description of problem:
Our continuous integration often encounters a situation when rpmdb gets corrupted while a rpmdb reader meets with a package installation. We've tracked down the issue to a race condition in CDB and upstream had now kindly provided a fix.
Upstream bug report: https://community.oracle.com/thread/3514381
Test cases (slow one, that reproduces the issue with RPM, and a minimal one for db4) are here: http://v3.sk/~lkundrak/bdb-crash/
Attaching the fix.
Version-Release number of selected component (if applicable):
Cloned for el6, bug #1099511
The patch seems sane, thank you very much. However, I haven't found if this is the same patch which upstream is going to use in the next version -- Lubomir, do you know?
This is what I got from the contact at Oracle:
We will put the fixes into 6.0 and release another patch release for
We are also close to wrapping up our next release and the fixes wll
be in that as well.
So if you migrate to 6.x the fixes will be there.
(In reply to Lubomir Rintel from comment #4)
Thank you. I read it as upstream accepts the fixes and states they are correct.
This bug has been closed as CURRENTRELEASE due to delivery of the fix in a z-stream. As the component is not on ACL, the fix is currently included in y-stream as well.
For more information please see the zstream process documentation:
* https://engineering.redhat.com/trac/ZStream/attachment/wiki/WikiStart/Z-Stream_process_update_4.odp .
*** Bug 1298211 has been marked as a duplicate of this bug. ***