RPM Community Forums

Mailing List Message of <rpm-devel>

Berkeley DB challenge

From: Thomas Lotterer <thomas+rpm5@lotterer.net>
Date: Tue 29 May 2007 - 08:32:31 CEST
Message-Id: <465BE51F0200007A00010606@lotkfs1.kfs.lotterer.net>
Your experience wanted! Sorry for bothering you with a topic that only
scratches RPM, but I wanted to understand why some BDB Applications suck when
independent processes are run simultaneously. I have experienced those problems
in the RPM world, too.  They cause sporadic lockups and database corruptions.
Seldom, but more often if multiple RPMs being run concurrently, e.g. many
queries, one or two rebuilds and an install. Those lockups and corruption are
almost impossible to reproduce, but I experienced them multiple times over the
past few years.

So I tried to create a small example test case just to see what needs to be
done to make BDB finally work. I failed - even with the help of the Oracle
Berkeley DB forum. Can you help me getting my faith in BDB reliability back?

Mark Hatle created another solution to this problem. If his solution really is
the only way then we should kick BDB out of RPM in favor of SQLite.

Here are the details (abstracted not mentioning the specific RPM use case)
http://forums.oracle.com/forums/thread.jspa?threadID=511499&tstart=0 
I hope I did something wrong but even then it means BDB is hard to use.

Any help clearing up this long standing issue much appreciated.
-- 
http://thomas.lotterer.net
Received on Tue May 29 08:35:54 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.