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

Re: does 'svnadmin dump/verify' use the membuffer caches by default?

From: Stefan Fuhrmann <stefanfuhrmann_at_alice-dsl.de>
Date: Thu, 10 Feb 2011 00:08:46 +0100

On 09.02.2011 03:43, Daniel Shahaf wrote:
> Stefan,
>
>> < wayita> stefan2: danielsh said: does 'svnadmin dump/verify' use the caches by default?
>> <@stefan2> danielsh: yes. However, the biggest performance improvement for dump / verify
>> will come from delta-caching. This is like 2 merges away. I'm currently
>> preparing new patch sets for merger
> Is it possible that 'verify' (and 'dump' when used for verification purposes)
> would, when using the cache, overlook a corruption that it would have spotted if
> the cache was disabled?
In very loose terms, that is "possible" - just like
any code may malfunction in unforeseen ways.

But assuming the cache works correctly (storing
and returning the right data for the right keys),
it will only prevent *repeated* data reads.
Assuming further that repeated reads would
always yield the same results, the cache should
not affect the results of 'verify' nor 'dump'.

However, it could hide corruptions that occur
while the check is running - which is no different
from today's situation.

-- Stefan^2.
Received on 2011-02-10 00:09:40 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.