Branko Čibej <br...@apache.org> writes:

> On 15.03.2018 20:38, Philip Martin wrote:
>> Philip Martin <phi...@codematters.co.uk> writes:
>>
>>> I think the raw
>>> window cache may have to be modified to include the svndiff version.
>> Experimental patch:
>
> Looks approximately correct to me. Hard-coding version 1 would have been
> wrong before LZ4, too, since version 0 does exist (although it's not
> often used these days).

I've committed and nominated for 1.10.  However I have found another
caching problem:

https://issues.apache.org/jira/browse/SVN-4727

Loading my copy of the original Collab Subversion repository (40515
revisions) fails when the cache is large:

svnadmin: E160004: Corrupt node-revision '9-965551.0-857792.r988076/12'
svnadmin: E160004: Reading one svndiff window read beyond the end of the 
representation

With a small cache the load completes and verification works, but
verfication fails with a large cache:

* Error verifying revision 11826.
svnadmin: E160004: Corrupt node-revision '5-385.0.r8127/80'
svnadmin: E160004: Reading one svndiff window read beyond the end of the 
representation

-- 
Philip

Reply via email to