RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Eliminating --initdb

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 30 Jul 2007 - 16:02:10 CEST
Message-Id: <4409C563-5F27-4EC9-A376-E956E3C96C54@mac.com>

On Jul 30, 2007, at 7:44 AM, Thomas Lotterer wrote:

>>
> Please keep. I recently succeeded with my personal BDB example case
> (will post details of my failures later) but one issue remains. It  
> seems
> to me all the locking stuff does not work reliably for DB_CREATE. If
> multiple processes try this simultaneously then damage is done. The
> bottom line for me is to try using BDB in a way where only one  
> piece of
> code actually initializes the database. And my constant goal of
> reproducibility prefers explicit action.
>

FWIW, creation can be transactionally protected if you want/need that
functionality.

And in order to attempt the D as in Durability in ACID, the details of
an rpmdb need to be hidden, not exposed.

Again my POV.

73 de Jeff
Received on Mon Jul 30 16:02:09 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.