Homework 2 forum

Saving incomplete downloads between restarts

 
Avatar Yanick Sanka Paulo Amaro
Saving incomplete downloads between restarts
par Yanick Sanka Paulo Amaro, samedi, 14 novembre 2020, 21:35
 

Hi,

Just to clarify, should incomplete downloads still be available for sharing after restart?

I am guessing they do since downloaded files are shared and their chunks are available before the download is complete.

But this would mean a gossiper can share incomplete files after startup which I find a bit strange.

Is it expected?

Thanks in advance!
profile
Re: Saving incomplete downloads between restarts
par Kirill Nikitin, dimanche, 15 novembre 2020, 12:51
 

Hi,

Yes, they should be. The key is that the gossiper will advertise only the chunks that have been downloaded (when replying to a relevant search request) for this file.

Think of it as bittorrent where even if you download a part of a torrent, it will later be available for others to download from you.

Kirill