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

svnadmin load error with 1.10 that seems to be fsfs cache related

From: Philip Martin <philip_at_codematters.co.uk>
Date: Thu, 15 Mar 2018 12:38:35 +0000

Julian Foad <julianfoad_at_apache.org> writes:

> Julian Foad wrote on 2018-02-28:
>> I'm happy to announce the release of Apache Subversion 1.10.0-rc1.
>
> That was 2 weeks ago and we need an RC2.

svnadmin create repo
svn -mm mkdir file://`pwd`/repo/subversion
svn -mm mkdir file://`pwd`/repo/subversion/trunk ^/subversion/branches
svn -mm mkdir file://`pwd`/repo/subversion/trunk/src
svnadmin create repo2
svnadmin dump -q repo | svnadmin load -q repo2

That works as expected, but vary the cache size of the load process and
it fails. The load succeeds with -M64 and smaller but fails with -M65
and larger:

$ svnadmin dump -q repo | svnadmin load -q -M1000 repo2
svnadmin: warning: apr_err=SVN_ERR_STREAM_MALFORMED_DATA
svnadmin: warning: W140001: zlib (uncompress): corrupt data: Decompression of svndiff data failed
../src-1.10/subversion/libsvn_repos/load.c:794,
../src-1.10/subversion/libsvn_repos/load-fs-vtable.c:1118,
../src-1.10/subversion/libsvn_fs/fs-loader.c:885,
../src-1.10/subversion/libsvn_fs_fs/tree.c:2333,
../src-1.10/subversion/libsvn_fs_fs/transaction.c:3983,
../src-1.10/subversion/libsvn_fs_fs/fs_fs.c:367,
../src-1.10/subversion/libsvn_fs_fs/fs_fs.c:239,
../src-1.10/subversion/libsvn_fs_fs/fs_fs.c:227,
../src-1.10/subversion/libsvn_fs_fs/transaction.c:3812,
../src-1.10/subversion/libsvn_fs_fs/transaction.c:3185,
../src-1.10/subversion/libsvn_fs_fs/transaction.c:3203,
../src-1.10/subversion/libsvn_fs_fs/transaction.c:2964,
../src-1.10/subversion/libsvn_fs_fs/transaction.c:2767,
../src-1.10/subversion/libsvn_fs_fs/transaction.c:653,
../src-1.10/subversion/libsvn_fs_fs/transaction.c:634,
../src-1.10/subversion/libsvn_subr/stream.c:221,
../src-1.10/subversion/libsvn_fs_fs/transaction.c:2736,
../src-1.10/subversion/libsvn_subr/stream.c:221,
../src-1.10/subversion/libsvn_delta/text_delta.c:524,
../src-1.10/subversion/libsvn_subr/stream.c:194,
../src-1.10/subversion/libsvn_fs_fs/cached_data.c:2148,
../src-1.10/subversion/libsvn_fs_fs/cached_data.c:1885,
../src-1.10/subversion/libsvn_fs_fs/cached_data.c:1704,
../src-1.10/subversion/libsvn_fs_fs/cached_data.c:1564,
../src-1.10/subversion/libsvn_fs_fs/cached_data.c:1323,
../src-1.10/subversion/libsvn_subr/cache-membuffer.c:3070,
../src-1.10/subversion/libsvn_subr/cache-membuffer.c:2608,
../src-1.10/subversion/libsvn_fs_fs/cached_data.c:1272,
../src-1.10/subversion/libsvn_delta/svndiff.c:590,
../src-1.10/subversion/libsvn_subr/compress_zlib.c:166,
../src-1.10/subversion/libsvn_subr/io.c:3699: (apr_err=SVN_ERR_STREAM_MALFORMED_DATA)
svnadmin: E140001: zlib (uncompress): corrupt data: Decompression of svndiff data failed

-- 
Philip
Received on 2018-03-15 13:38:48 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.