You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Hugh Winkler <hw...@betweenmarkets.com> on 2002/07/22 06:56:48 UTC

Corrupted repository db, reproducible

Hi all,

Just built the latest (yesterday July 21). 

I made a booboo that scared up a bug. It is reproducible; although
probably timing related, I have not had a problem reproing it. 

Start with a fresh repository on the Linux server.

RE: Corrupted repository db, reproducible

Posted by Sander Striker <st...@apache.org>.
> From: Hugh Winkler [mailto:hwinkler@betweenmarkets.com]
> Sent: 22 July 2002 08:57

> Hi all,
> 
> Just built the latest (yesterday July 21). 
> 
> I made a booboo that scared up a bug. It is reproducible; although
> probably timing related, I have not had a problem reproing it. 
> 
> Start with a fresh repository on the Linux server.
> 
> From a remote Windows client using an http:// url, I imported a complete
> JDK directory tree. I imported it into a new directory,
> NEW_ENTRY_IN_REPOS="1.4". 
> 
> While that very long import was taking place from the Windows client,
> during the "Transmitting file data ...." phase, I opened a shell on the
> Linux server. From a local client on the Linux server, using a file://
> url, I similarly imported a complete (Linux) JDK. I (unintentionally)
> imported it to the same "new" directory, named "1.4". Shortly thereafter
> both imports failed. Evidently the repository db got corrupted by
> simultaneously trying to import to the same new directory entry. No
> further svn commands succeed against the repository; DB_RUNRECOVERY
> seems to be the message. 

Ofcourse a lockup isn't nice, but there isn't neccessarilly corruption.
Run:

$ db_recover -ve -h /home/users/hughw/svnroot/db

And be ready to continue playing ;)
Please report if you are actually seeing a corrupted repository* after
this.


Sander

*) One that is messed up wrt its contents.

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