Opened 12 years ago

Closed 12 years ago

#2019 closed bug (Fixed)

File priorities make no effect

Reported by: non7top Owned by:
Priority: minor Milestone: Future
Component: libtorrent Version: master
Keywords: Cc:


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 Changed 12 years ago by Cas

  • Component changed from core 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?

comment:2 Changed 12 years ago by non7top

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

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 Changed 12 years ago by Cas

libtorrent is not bundled, the latest version, 0.15.9:

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 Changed 12 years ago by Cas

  • Resolution set to fixed
  • Status changed from new to 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.

Note: See TracTickets for help on using tickets.