This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Lost data after restarting KTorrent (not finished torrent)

Tags: None
(comma "," separated)
Zajec
Registered Member
Posts
53
Karma
0
I use some tracker where I have to keep quite high ratio. Unfortunately my upload speed is quite small so I use such a trick:
1) I start downloading some fresh torrent
2) After I get about 15MB I set priorities of files to "Only seed" (usually about 3 files)
3) I seed for a few hours to bump up my ratio

The problem is that KTorrent makes something weird about not fully downloaded files. If I download for example theses 15MB and restart KTorrent it is quite common that after restarting KTorrent can see only 5MB of downloaded data.

I guess that something similar happens in µTorrent, but this client uses some trivial idea to avoid losting data. When I download 10MB in µTorrent and then set files to "Only seed" µTorrent keeps downloading for a few MBs and doesn't stop until finishing that. It may sound quite werid but a result is glorious: After µTorrent download these additional ~5MB I can restart it without lost of any data.

Could some KTorrent developer look into code to check what happens when priority is changed to "Only seed"? I think KTorrent definitely shold avoid the situation that currently has place.
George
Moderator
Posts
5421
Karma
1

Tue Nov 20, 2007 6:28 pm
Only seed priority doesn't change anything about the data already on disk.

But I have taken a closer look, it seems that running chunk downloads for a only seed chunk are stopped, so that is probably where those 10 MB are lost.

Maybe we better change that, and let those chunks finish.

EDIT: this is now fixed, it will be part of 2.2.4
Zajec
Registered Member
Posts
53
Karma
0

Tue Nov 20, 2007 8:53 pm
George wrote:Only seed priority doesn't change anything about the data already on disk.

But I have taken a closer look, it seems that running chunk downloads for a only seed chunk are stopped, so that is probably where those 10 MB are lost.

Maybe we better change that, and let those chunks finish.

EDIT: this is now fixed, it will be part of 2.2.4
Thanks a lot :-)


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]