Opened 4 years ago

Last modified 2 years ago

#1686 accepted defect

i2psnark: Autostart starts all torrents

Reported by: zzz Owned by: dg
Priority: minor Milestone: 0.9.24
Component: apps/i2psnark Version: 0.9.22
Keywords: Cc:
Parent Tickets:


The intent of the fix for #766 is that, when autostart is enabled, snark will automatically start only the torrents that were running before, i.e. those with running=true in the torrent config file. However, all torrents are started. So either it broke after #766 was resolved, or there's something special in my setup.

Steps to reproduce:

  • Click stop-all
  • Wait a minute
  • Verify all torrents have configured running=false (grep running ~/.i2p/i2psnark.config.d/*/*)
  • Graceful restart router
  • 3 minutes after router restart, all torrents will be running

Expected result: No torrents running

Actual result: All torrents running

Router version: 0.9.22-18

Subtickets (add)

Change History (4)

comment:1 Changed 4 years ago by echelon

Ok, did a upgrade 0.9.22-16 to 0.9.22-20 and after restart, all torrents were started. But before only 5 were active.
Not what I expected.

comment:2 Changed 4 years ago by dg

  • Milestone changed from undecided to 0.9.23
  • Owner changed from zzz to dg
  • Status changed from new to accepted

Looking into it.

comment:3 Changed 4 years ago by zzz

  • Milestone changed from 0.9.23 to 0.9.24

deferred to 0.9.24

comment:4 Changed 2 years ago by slumlord

I think I recall some inconsistent torrent start/stop states at the last restart. I will remember to test this should I restart before the next release.

Note: See TracTickets for help on using tickets.