RE: Why do we check the base checksum so often?
From: Bert Huijben <bert_at_qqmail.nl>
Date: Sat, 4 Feb 2012 07:34:36 -0800
> -----Original Message-----
You can say that all the expected text bases are wrong if you only send deltas against the empty stream. (libsvn_ra_serf did this for quite some time during development of 1.7). If you send deltas that way you get any result you want, but you might just have transformed a working copy to an invalid state.
My guess is that these base checksums -at least during normal update processing- are right and that there is some other hidden problem. During 1.7 development I added a few missing checksums in the protocol processing so at least users of all ra apis were able to detect the same breakage. (serf and neon both missed checksums in certain scenarios)
If they were broken, we probably had noticed this years ago. I wouldn't just assume they are broken without verifying all th new code a few more times.
It is not impossible that they were broken, but that is no reason to break the safety net and assume our experimental code knows better than the code used by millions of users over the years.
It's pretty sure that we break backwards compatibility in some place if we have to remove the safety net in this eary stage of switching...
> I've got a patch to remove this superfluous checking, but since the
If you already have the patch, please send it. Maybe somebody else can help identifying the problem.
Bert
|
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.