Opened 4 years ago

Closed 2 weeks ago

#1686 closed defect (duplicate)

i2psnark: Autostart starts all torrents

Reported by: zzz Owned by: dg
Priority: minor Milestone: 0.9.42
Component: apps/i2psnark Version: 0.9.22
Keywords: Cc:
Parent Tickets: #2120 Sensitive: no

Description

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

Change History (5)

comment:1 Changed 4 years ago by Eche|on

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: undecided0.9.23
Owner: changed from zzz to dg
Status: newaccepted

Looking into it.

comment:3 Changed 4 years ago by zzz

Milestone: 0.9.230.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.

comment:5 Changed 2 weeks ago by zzz

Milestone: 0.9.240.9.42
Parent Tickets: 2120
Resolution: duplicate
Sensitive: unset
Status: acceptedclosed

Delegated to #2120

Note: See TracTickets for help on using tickets.