glaring at reget
August 7, 2004
One thing people have wanted out of yum is for it to restart transfers if they are partially finished. I understand why, it makes sense, you don’t want to download the same thing twice.
But the difficult part is. If I look at the size of the file on disk, then look at the size in the metadata. If the size is smaller I let it reget, great. But it could mean continuing to get something which is already damaged. So the reget finishes, the file is corrupt and you’re downloading the whole thing over again. Now, sure, I know, that probably won’t happen, but given the amount of broken connections out there, maybe it will.


