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

Re: Re: Lack of Subversion repository recovery tools

From: Andreas Hasenack <andreas_at_mandriva.com.br>
Date: 2007-07-02 16:45:41 CEST

On Sat, Jun 30, 2007 at 09:24:59PM +0200, Erik Huelsmann wrote:
> Hi Chris,
>
>> No of course things happen which we have no control over. That's part of
>> the fun/headache of IT right? ;-)
>
> Yes :-)
>
>> What I am saying I that I am surprised there are no tools available to
>> be able to recover a repository into a usable state. A simple(no such
>> thing I know) tool is all that is needed to be able to mark a revision
>> as bad and let and svnadmin dump/verify and the other tools work as they
>> should.
>>
>> Do you think this is unreasonable?
>
> Absolutely not! It's a very reasonable request! The only thing is that
> this is the default in-production behaviour already: if a damaged
> revision is not required to construct a later revision, it's simply
> skipped and no damage will be detected.

Is it? Maybe I don't have the deltas inner workings correctly in my
mind, but consider this simple test:

[andreas@pandora x]$ svnadmin create test-repo
[andreas_at_pandora x]$ svn mkdir file://$(pwd)/test-repo/dir1 -m "- created dir 1"

Commit da revisão 1.
[andreas_at_pandora x]$ svn mkdir file://$(pwd)/test-repo/dir2 -m "- created dir 2"

Commit da revisão 2.
[andreas@pandora x]$ echo corrupt > test-repo/db/revs/1
[andreas@pandora x]$ svnadmin verify test-repo/
* Verified revision 0.
svnadmin: Can't set position pointer in file 'test-repo/db/revs/1': Invalid argument

Does the dir2 creation depend on dir1? If yes, then this error is valid.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 2 16:46:18 2007

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.