[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion's use of Berkeley DB [#11511]

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-12-13 02:56:37 CET

On Sun, 2004-12-12 at 18:42, Mark Benedetto King wrote:
> > > + also a library (and a library where the people writing
> > > the library don't also write the application software
> > > using the library),

Incidentally, it's possible that Keith thought that only Red Hat writes
application software which uses rpmlib. This isn't true; I've written
software which uses rpmlib myself, and I believe Ximian has as well.

> It is my understanding that RPM uses BDB in the same way that
> sendmail does; as an efficient indexed store of data that is
> managed separately.

I'm pretty sure that's incorrect.

egyptian-gods% ls -l /var/lib/rpm/Packages
-rw-r--r-- 1 rpm rpm 58195968 Oct 25 00:19 /var/lib/rpm/Packages
egyptian-gods% file /var/lib/rpm/Packages
/var/lib/rpm/Packages: Berkeley DB (Hash, version 7, native byte-order)

> IIUC, this is why "rm -f /var/lib/rpm/__db*; rpm --rebuilddb" is
> used to unwedge RPM's database.

I think this would work in Subversion as well for some kinds of wedges,
actually; the __db* files are just the environment. As long as no other
processes are accessing the database, of course.

(And you don't actually have to rpm --rebuilddb, as far as I know.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 13 02:59:00 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.