You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Philip Martin (JIRA)" <ji...@apache.org> on 2018/03/21 02:14:00 UTC

[jira] [Commented] (SVN-4725) FSFS cache block-read mode doesn't support svndiff 2

    [ https://issues.apache.org/jira/browse/SVN-4725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16407347#comment-16407347 ] 

Philip Martin commented on SVN-4725:
------------------------------------

The underlying problem is that the FSFS cache has a block-read mode that doesn't work with svndiff 2. Block-read can be enabled in mod_dav_svn via an apache directive and in svnserve via a command line option. It is enabled automatically in svnserve when the cache size is greater than 64MB. When block-read mode is enabled lots of commits fail.

> FSFS cache block-read mode doesn't support svndiff 2
> ----------------------------------------------------
>
>                 Key: SVN-4725
>                 URL: https://issues.apache.org/jira/browse/SVN-4725
>             Project: Subversion
>          Issue Type: Bug
>          Components: libsvn_fs_fs
>    Affects Versions: 1.10.x
>            Reporter: Philip Martin
>            Priority: Major
>
> The following load fails when the cache is at least -M65:
> {noformat}
> 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 -M1000{noformat}
> The error is
> svnadmin: E140001: zlib (uncompress): corrupt data: Decompression of svndiff data failed
>  
> Dev list:
> https://mail-archives.apache.org/mod_mbox/subversion-dev/201803.mbox/%3C87in9x7buc.fsf_-_%40codematters.co.uk%3E



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)