Re: rsync deprecated but promoted?
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Sep 26, 2005, 15:04 UTC
- Message-ID
- <Pine.LNX.4.58.0509260801430.3308@g5.osdl.org>
- In-Reply-To
- <20050926133204.GB21019@pasky.or.cz>
On Mon, 26 Sep 2005, Petr Baudis wrote:
Show 5 quoted lines
> > 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