You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Christopher L Merrill <ch...@webperformance.com> on 2006/03/21 20:40:40 UTC

Re: corrupt repository - more details

Here is some more info on my previous post.  I've tried a few more things
and it certainly seems like the content of the repository is still in tact.
I just can't get to it for any amount of time.

For instance, immediately after deleting log files from the db folder,
doing a db_recover and restart svnserve, I can diff, log, update and commit
a file in the repository.  5 minutes later, doing a log a file results in:

 > $ svn log project.xml
 > svn: Berkeley DB error while checkpointing after Berkeley DB transaction for fil
 > esystem /opt/subversion/Development/db:
 > Invalid argument
 > svn: bdb: DB_ENV->log_flush: LSN of 1/115206 past current end-of-log of 1/9486
 > svn: bdb: Database environment corrupt; the wrong log files may have been remove
 > d or incompatible database files imported from another environment
 > svn: bdb: strings: unable to flush page: 0
 > svn: bdb: txn_checkpoint: failed to flush the buffer cache Invalid argument

If I repeat the procedure, I can do a log and see the result of my commit.


Also, I cannot do a dump of the repository.  If I do the above procedure and
start the dump, it gets through a few versions and then dies with hundreds of
lines of:

> svn: bdb: Database environment corrupt; the wrong log files may have been remove
> d or incompatible database files imported from another environment
> svn: bdb: DB_ENV->log_flush: LSN of 727/594026 past current end-of-log of 1/6118
> 
> svn: bdb: Database environment corrupt; the wrong log files may have been remove
> d or incompatible database files imported from another environment
> svn: bdb: DB_ENV->log_flush: LSN of 683/223525 past current end-of-log of 1/6118
> 
> svn: bdb: Database environment corrupt; the wrong log files may have been remove
> d or incompatible database files imported from another environment
> svn: bdb: DB_ENV->log_flush: LSN of 705/514953 past current end-of-log of 1/6118

If I then restart the dump, it fails immediately with the 1st error shown above.

So at this point, we can't even dump/restore the repository.


Thanks for any help you can offer!
Chris

-- 
------------------------------------------------------------------------ -
Chris Merrill                           |  http://www.webperformance.com
Web Performance Inc.

Website Load Testing and Stress Testing Software & Services
------------------------------------------------------------------------ -

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