Re: rsync deprecated but promoted?

From: Linus Torvalds <torvalds@osdl.org>
Date: 2005-09-27 01:04:25
On Mon, 26 Sep 2005, Petr Baudis wrote:
> 
> Nope. rsync always did packs, I actually un-deprecated it for the time
> period when HTTP didn't. The thing is, rsync is bad - it will happily
> put duplicate, redundant, and especially unwanted data to your
> repository, especially when the shared GIT repositories happen.

Worse than that, rsync will happily sync up to a remote repository without 
even getting _all_ the object files, and never tell you anything is wrong.

This happened to several people when the kernel.org mirroring was 
broken/delayed.

So yes, rsync is fast. But it's fast exactly _because_ it is broken. Very 
very fundamentally broken.

You basically have to run fsck on your repository after an rsync. And if 
it returns errors, you're screwed unless you remember what your old heads 
were.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Sep 27 01:07:12 2005

This archive was generated by hypermail 2.1.8 : 2005-09-27 01:07:15 EST