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

Re: Filesystem corrupt issue in repo

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Wed, 7 Nov 2018 14:26:22 +0100

On Wed, Nov 7, 2018 at 2:05 PM Dennis Jakobsen <brunis_at_gmail.com> wrote:
>
> Hi,
>
> I have a repo that returns no errors with 'svnadmin recover' or
> 'svnadmin verify', but dumping and loading into a new repo gives me:
> svnadmin: E160004: Filesystem is corrupt
> svnadmin: E200014: Checksum mismatch while reading representation:
> expected: aa2f4b4990d8a287d104dd30ddf50ab0
> actual: 9ba98374833678825028dcadcd521ece
>
> This is a simple svnadmin dump svnrepo > repo-backup and svnadmin load
> svnrepocopy < repo-backup.
>
> I tried filtering out the offending branch but it gives me a:
> svndumpfilter: E200003: Invalid copy source path
> '/branches/bugfix-1_2/some-file-in-my-repo.txt'
>
> System info:
> svnadmin --version
> svnadmin, version 1.9.7 (r1800392)
> cat /proc/version
> Linux version 4.15.0-38-generic (buildd_at_lcy01-amd64-023) (gcc version
> 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018
>
> Hope i have a shot at fixing it, right now my dumps are not a viable
> backup solution :(

This might be due to this bug in the checksum verification:

https://issues.apache.org/jira/browse/SVN-4722 (checksum fail during
commit when delta is 16K)

The fix was released in 1.9.9.

Also note that 1.10.3 and 1.11.0 have been released already. Those
should not be affected by this bug, so it might also be a good
opportunity to upgrade to these more recent releases ...

-- 
Johan
Received on 2018-11-07 14:26:54 CET

This is an archived mail posted to the Subversion Users mailing list.