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

Re: svnadmin: E200002: Serialized hash missing terminator — but latest show revision is perfectly ok!

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 20 Oct 2014 20:46:03 +0200

On Mon, Oct 20, 2014 at 10:22:05PM +0400, Lev Serebryakov wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On 20.10.2014 19:07, Stefan Sperling wrote:
>
> > I would recommend you reset the mirrored repository to the last
> > known-good revision (269997?) by moving out of the way all files
> > belonging to newer revisions (in db/revs) and revprops (in
> > db/revprops), running 'svnadmin recover' (this should set
> > db/current to the number of the last known-good revision)
> I've done this three times, each time removing 100 revisions. Result
> the same: before 2 revisions to end "svnadmmin verify" complains about
> "Serialized hash missing terminator".
>
> Now 269999 is clear for sure, as it is very old revision. Iad. yes,
> I've checked "revprops/269/269999", it is properly-formatted prop file.
>
> So, it is NOT problem of revprops, but it is about some other
> (which?) file in repo.

It's probably a corrupt entry in db/rep-cache.db which every sync
keeps picking up again and again.

Try the whole procedure again either with rep-sharing disabled
in db/fsfs.conf (enable-rep-sharing = false), or with a copy
of db/rep-cache.db from the master server which you should put
in place before the 'svnadmin recover' step (because entries newer
than the recovered HEAD revision are automatically removed from
the rep-cache during 'svnadmin recover').
Received on 2014-10-20 20:46:42 CEST

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.