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

Re: Upgrade to db 4.1

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-10-14 12:48:13 CEST

On Mon, Oct 14, 2002 at 11:45:33AM +0200, Sander Striker wrote:
> > From: Nicholas Riley [mailto:njriley@uiuc.edu]
> > Sent: 14 October 2002 11:25
>
> > On Sun, Oct 13, 2002 at 08:29:09PM -0400, Kevin D. Bond wrote:
> > > Please note that there is a bug with MUTEXs in Berkeley DB 4.0 under
> > > Mac OS X. In fact I had problems with everything from 3.3 to 4.0. 4.1
> > > includes a fix, you can get the mutex change from 4.1 and include it in
> > > 4.0. If unfixed, this bug will cause database corruption during
> > > concurrent writes to the database.
> >
> > This explains why I can't run a Subversion server on OS X for more
> > than about 5 commits before the database explodes. I've spent days
> > trying to track down this problem already, but didn't get anywhere
> > (probably because I was looking inside Subversion instead of BDB for
> > the problem).
> >
> > Do you have a patch for 4.0.14 to fix the mutex problems? If so I can
> > test it out... I've got plenty of test cases - for example, all I need
> > to do is create a new repository, import a dumpfile, and I get errors
> > with the version I'm using.
>
> If this is the case then I think it is a very valid reason for us to consider
> making db 4.1 the required version. Justin already submitted a patch.
>
> Any reasons why we shouldn't move to 4.1 and stick with 4.0?

DB4.0 isn't all that common yet, let alone 4.1.

IMO, the ideal situation is to allow 4.0 *or* 4.1, and tweak our calls
accordingly. In addition, if you're on MacOS X, then require 4.1.

So... +0 on requiring 4.1, +1 if coded as above.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 14 12:46:47 2002

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.