Opened 3 years ago
Closed 3 years ago
#2229 closed defect (fixed)
I2PSNARK Disregards download priorities after restart
Reported by: | uz-spark | Owned by: | zzz |
---|---|---|---|
Priority: | minor | Milestone: | 0.9.35 |
Component: | apps/i2psnark | Version: | 0.9.34 |
Keywords: | Cc: | ||
Parent Tickets: | Sensitive: | no |
Description
I2PSNARK Disregards download priorities after restart. As is, they're still set but files is downloaded even if set to skip. Applying priority on any file will get priorities for that torrent to function.
Subtickets
Attachments (1)
Change History (9)
comment:1 Changed 3 years ago by
Status: | new → infoneeded_new |
---|
comment:2 Changed 3 years ago by
Status: | infoneeded_new → new |
---|
Nope, these files definitely are larger than piece size, and getting downloaded continuously until manual priorities reset. Will try clean install on another machine to exclude possible problems with my setup.
comment:3 Changed 3 years ago by
Just tried on clean install, same behavior.
- Set 'skip' priority on all files in torrent, so torrent will not be downloaded at all.
- Restart either I2PSnark or I2P router completely.
- Priorities in torrent is set as before but torrent is downloading now, and torrent info page shows 'remaining' equal to 'size', despite all files are skipped.
- Set priority (another or the same) on any file in torrent and that torrent is now downloading according to priorities. Each torrent needs that procedure after restart.
comment:4 follow-up: 5 Changed 3 years ago by
Unable to reproduce here yet. Do you have auto-start enabled in snark config?
comment:5 Changed 3 years ago by
Changed 3 years ago by
Attachment: | i2psnark-2229.png added |
---|
Files being downloaded after a restart despite having priority set to 'Do Not Download'
comment:6 Changed 3 years ago by
Milestone: | undecided → 0.9.35 |
---|---|
Status: | new → accepted |
reproduced here with autostart on
comment:7 Changed 3 years ago by
Reproduced here, see screenshot.
magnet:?xt=urn:btih:ea74c208e8ba7801be1314100f454332215f24fb
was the test torrent.
comment:8 Changed 3 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
When autostart enabled, torrent was started before priorities were loaded from the stored config.
Fixed in 422c7dc98959b2ed69cc4cfcf1e6793d4ff2c848 0.9.34-18
Was this a small file (less than or equal to twice the piece size) or a large file?
Note that the first and last piece of a file may be downloaded even if set to skip, because the pieces may overlap with a non-skipped file. As a result, small files may be completely downloaded even if set to skip.