[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 18:44:05 +0000

Julian Foad <julianfoad_at_apache.org> writes:

> Philip Martin wrote:
>> cached_data.c:parse_raw_window() where the svndiff version is hard-coded
>> to 1 in the call to svn_txdelta_read_svndiff_window. Changing that to 2
>> allows the regression test to pass, the question is where should the
>> correct value be obtained?
> The simple answer appears to be 'rs->ver' (where 'rs' needs to be
> passed in via the function's baton).

It's not that simple. When we cache the data rs->ver is set to 1 by
init_rep_state(). When we retrieve the data rs->ver is set to -1 by
create_rep_state(). I don't know why these functions initialize rs
differently. Neither appears to be the value we want.

Received on 2018-03-15 19:44:10 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.