RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Eliminating --rebuilddb by doing lazy secondary index re-creation

From: Jeff Johnson <n3npq@mac.com>
Date: Tue 08 Dec 2009 - 22:26:26 CET
Message-id: <9BC3C4D2-FEC7-40C9-8FC9-5D0EDE62FAEE@mac.com>

On Dec 8, 2009, at 12:17 PM, Jeff Johnson wrote:

> I finally had a chance to look at the ability of
> Berkeley DB to generate secondary indices on the fly.
> 

And --rebuilddb (as currently implemented) is now on death watch.

I know of no reason why an inplace index rebuild from
the existing Packages store, preserving the dbenv to
avoid raciness, is not a better solution than the current
--rebuilddb implementation.

I'll leave the existing --rebuilddb as "opt-in" with a compile time toggle
until, say, Friday 12/11/2009 for comments before
hauling out the trash from rpmdb/rpmdb.c.

73 de Jeff
Received on Tue Dec 8 22:27:03 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.