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

RE: I lost 7 bdb repositories yesterday!

From: Jake Robb <jakerobb_at_mac.com>
Date: 2005-07-01 21:45:31 CEST

Ben, I'm curious. Are you satisfied with the comparison between BDB and
FSFS as given in Table 5.1 in the Subversion Book?

http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-5-sect-1.3

If not, are there any other differences you're aware of that might help
administrators decide?

Also, for the shortcomings listed with FSFS, are there intentions among the
Subversion developers to remedy them, or are these shortcomings of the
approach rather than shortcomings of the implementation?

Thanks,

Jake

-----Original Message-----
From: Ben Collins-Sussman [mailto:sussman@collab.net]
Sent: Friday, July 01, 2005 3:10 PM
To: Dave Camp
Cc: Subversion Users
Subject: Re: I lost 7 bdb repositories yesterday!

On Jul 1, 2005, at 10:17 AM, Dave Camp wrote:
>
> - Some of the damaged repositories were not in use at the time
> (idle for days or months). How is that possible without drive or
> filesystem damage? There were no svnserve processes running on
> those files at the time.

The damage could have occurred long before the system crash. If
nobody's accessed those repositories for months, there's no way to
know how long they've had problems.

>
> - Is this expected behavior for bdb repositories? This is not the
> first time we've had unrecoverable damage to them (previous times
> seemed to be from normal use).
>

It is expected behavior that when a process that has a BDB database
open is interrupted or crashes, that the database is left 'wedged'.
Wedging is supposed to be recoverable. In rare cases, we've seen odd
bugs in BDB itself whereby tables have suddenly changed type, but
that seemed BDB 4.1-specific. Other times, we've seen table
corruption resulting from bad disk sectors.

> - Does fsfs solve the fragility issues that bdb seems to have? If
> moving the repositories to fsfs will make these problems a thing of
> the past, I'm there.
>

Yes, absolutely.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 1 22:22:05 2005

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