RPM Community Forums

Mailing List Message of <rpm-devel>

Re: db4 vs. sqlite

From: Mark Hatle <mark.hatle@windriver.com>
Date: Sun 14 Oct 2007 - 01:50:06 CEST
Message-ID: <471159AE.7020804@windriver.com>
Jeff Johnson wrote:
> 2) Supporting asm locking on a myriad of embedded tool chains. Of course
> fcntl locking with BDB would have solved exactly the same problem.

I tried this a month or so ago and it was incredibly unreliable.  I
didn't have the time to track down the issues.

The symptom was that you could open and work w/ the database once.. then
the next time you tried it went into a lock recovery loop until you kill
-9'ed RPM.  (none of this was over NFS BTW.)  So for fcntl locking in
db4 to be usable, someone will really need to try and document the
gotchas.  (Unfortunately I didn't have time.)

--Mark
Received on Sun Oct 14 01:50:09 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.