subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Bhide <nitinbh...@gmail.com>
Subject Re: corrupted svn repository with “serialized hash missing terminator” error
Date Thu, 05 Sep 2013 14:24:51 GMT
Hi Stefan,

Thanks for the hint. I tried the fsfsverify and fsfixer also. Both did not
work. Looking back I think the problem started when I upgraded to from
1.7.x to 1.8.1.

What exactly is 'serialized hash terminator' error ?

Regards,
Nitin


On Sun, Sep 1, 2013 at 4:33 PM, Stefan Sperling <stsp@elego.de> wrote:

> On Sun, Sep 01, 2013 at 12:02:18PM +0530, Nitin Bhide wrote:
> > I have a local subversion repository. I am trying to convert it to
> > Mercurial. In the process I discovered that repository is corrupted. I
> have
> > tried the following
> >
> > 1. svnadmin verify - confirmed that repository is corrupted at revision
> > 1265. The verify stops at this revision.
> > 2. svnadmin recover - was unable to recover the repository.
> > 3.  tried to dump the repository content. svnadmin dump fails at revision
> > 1265. So dumped till 1264. Took another dump from revision 1322. (all
> > revision from 1265 to 1321 are giving the serialized hash terminator
> error).
> > 4. I tried to combine the dumps and load it into a new repository.
> However,
> > some files were added in the 'missing' revisions (1265 to 1321) and while
> > loading dump I am getting errors.
> >
> > I googled for error and advice seems to be dump the repository and reload
> > the contents in new repository. However, that does not work for me.
> >
> > I tried to find what exactly is the meaning of the error. However, I
> could
> > not get any information. I tried to read the documentation of FSFS
> > structure (
> >
> http://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_fs_fs/structure
> ).
> > I tried to manually check revision file for 1265 and see what is wrong.
> But
> > could not find anything visibly wrong.
> >
> > Is there any way to correct this error in the repository
> > (manually/programmatically) ?
> >
> > If someone can give me a hint on what is wrong in the file and underwhat
> > conditions this error occurs, I will try to write a script to correct it.
> >
> > Regards,
> > Nitin
>
> Give this script a try:
> https://svn.apache.org/repos/asf/subversion/trunk/contrib/server-side/fsfsverify.py
> It can fix some instances of corruption which was probably caused by
> older Subversion/APR versions.
>



-- 
============================================
In theory, there is NO difference between theory and practice.
But, in practice, there IS

Yogi Berra
============================================
My company's new product : BootstrapToday - Simple and Sensible Application
Lifecycle Management
http://www.bootstraptoday.com

Mime
View raw message