Opened 13 years ago
Closed 13 years ago
#2019 closed bug (Fixed)
File priorities make no effect
Reported by: | Vladimir Berezhnoy | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future |
Component: | libtorrent | Version: | master |
Keywords: | Cc: |
Description
This issue reproduces in 50% cases, most notable is that files with "Do not download" are being downloaded, often they are downloaded before files with "Highest priority"
Change History (4)
comment:1 by , 13 years ago
Component: | core → libtorrent |
---|
comment:2 by , 13 years ago
I believe libtorrent is now bundled withing deluge, so not sure which version is that, system one is
net-libs/rb_libtorrent (0.15.6@26/09/11)
I'm aware that crossfile pieces will be downloaded and first/last files can also be downloaded partially and I have full allocation set in properties. here is that picture which illustrates my case http://i32.fastpic.ru/big/2012/0118/d9/ebe8d22a147b919008bafa54b9188cd9.png
I've set DND for first files right after the torrent was loaded, but despite that the files were all downloaded regardless of priorities.
As I've said this is reproduced at about 50% and I couldn't find anything common in those cases.
comment:3 by , 13 years ago
libtorrent is not bundled, the latest version, 0.15.9: http://gentoo-portage.com/net-libs/rb_libtorrent
we would need to check whether what is being displayed in files tab is actually reflected in libtorrent. a quick look at the code suggests there is the potential for a difference if libtorrent fails to set the priority.
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fix for the settings issue I highlighted is now in 1.3-stable 98dcc8 and master f4fab8.
This does not fix anything to do with libtorrent's internal setting of file priorities but Deluge will now add a warning message to the logs if there is a discrepancy when setting the priorities along with files tab now displaying the settings that libtorrent has actually set for the files.
If this problem still persists then reopen with more details and it will be reported upstream to libtorrent.
What version of libtorrent are you using?
What size are these files marked for 'DND'? You are aware of shared pieces between files?