[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-01 21:09:32 CEST

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
Received on Fri Jul 1 21:40:29 2005

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

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