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