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

Re: rep-cache sanity check on commit

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 01 Aug 2012 09:33:54 +0100

Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com> writes:

> On Tue, Jul 31, 2012 at 11:26 AM, Philip Martin
>
>> We do not need to verify the whole revision or the whole
>> rep-cache.
>>
>
> I only thought that it is hard to verify that a given offset
> range actually *is* a representation. To verify that, there
> must be some noderev pointing to it. Thus, we had to
> enumerate all noderevs until we found a suitable one.

I see what you mean. If we take an offset from the rep-cache and look
at the data at that offset it may look like a valid representation even
if it is just arbitrary data within another representation.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-08-01 10:34:33 CEST

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