.plan to avoid unhappy users
han at mijncomputer.nl
Sat Dec 22 19:18:26 EST 2001
I am on a developpers list for mandrake: cooker@ and the rsync-servers
broke which resulted in a lot of very unhappy people cause their rsync
directories got empied.
My idea is the following.
rsync is a mirroring tool.
The usual thing that happens in a mirroring tool is that packages do
You server that archive: like the linux-kernel server. And you got
servers that update all the time.
In the first case its easy. all you have to do is get the new
packages. You can trust the other ones. Removing them is silly.
In the cooker-case its more subtile:
A package is replace by a newer version. So if an update occurs like:
kernel-1.2.3 is replaced by kernel-1.2.4 this is normal behaviour, but
if package-2.4.8 is deleted and nothing is replacing it this is weird
Instead off assuming the connection is right and the mirror made no
errors and removing the files lets change this behaviour and let rsync
make a list like:
# these are the packages that are no longer on the server.
Now all the rsync user has to do is having a look at that list and sh
it if he agrees.
Off course this is optional behaviour.
Just my 2ct.
Btw I am not subscribed to this list, and I am not involved in rsync
development. I hope you like my idea. You don't have to cc me or
anything, just to let you know.
More information about the rsync