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

Re: 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 23:50:09 +0000

Philip Martin <philip_at_codematters.co.uk> writes:

> 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

I think I've found the problem. The call to auto_read_diff_version()
that I added for the previous problem is in the loop in cache_windows().
If there are more than one window chunks, and the first is found in the
cache, then when auto_read_diff_version() is called on subsequent chunks
it will reset some of the rep_state_t.

-- 
Philip
Received on 2018-03-16 00:50:16 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.