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

Re: Apparent BerkeleyDB problem accessing repo with ra_local

From: Art Haas <ahaas_at_airmail.net>
Date: 2003-12-10 18:05:06 CET

On Wed, Dec 10, 2003 at 11:23:20AM -0500, Greg Hudson wrote:
> I think you're running into a conflict between LinuxThreads and NPTL,
> though I can't be sure. The relevant BDB code is very brittle. Try
> "svnadmin recover" on the repository; if that doesn't work, assume you
> have to transfer the repository through dump and load.
>
> (Repeat after me: I hate Berkeley DB. I hate Berkeley DB.)
>

Well, that sort-of worked. The '__db' files were recreated, then
subversion can read them, but the program ends with an 'Aborted' message
like so:

$ svn ls file:///path/to/svnrepo
pythoncad/
Aborted
$

Maybe this error is just a bug in the current code that will be fixed in
a day or two.

My Debian box has an NPTL based libc, so if the problem is
LinuxThreads/NPTL in origin I would think it would show up here as well.
A look at the 'changelog.Debian.gz' file shows that the libdb4.0
package has a "patch to allow db_recover to recover a wedged db_env".
I don't think this patch is in the remote machine's libdb, but that
machine may have other patches not on this machine.

Always doing an 'svnadmin recover' is a bit of a pain. More
investigation is required. The Berkeley DB libraries _are_ proving to be
quite a tricky lot to deal with ...

Art Haas

-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.
-Thomas Jefferson to James Smith, 1822
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 10 18:05:43 2003

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.