Opened 11 years ago

Closed 10 years ago

Last modified 9 years ago

#2322 closed bug (Fixed)

[Execute] Race condition with "move on completed" torrents

Reported by: edechamps Owned by:
Priority: minor Milestone: 1.3.8
Component: Plugin Version: 1.3.6
Keywords: execute move_on_completed Cc:


It seems that when both "move on completed" and the execute plugin are enabled, a race condition occurs in which the execute script is called concurrently with regard to the move operation.

As a result, sometimes the torrent data is already moved when the script is executed, sometimes it is not. This makes it difficult for the script to do anything with the torrent data.

The best fix would be to make sure that the script is executed *after* the move is complete.

Change History (3)

comment:1 Changed 11 years ago by Cas

  • Milestone changed from Future to 1.4.0

Once we implement the move_completed event both this plugin and extractor can be updated.

comment:2 Changed 10 years ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed
  • Summary changed from Execute plugin + "move on completed" = race condition to [Execute] Race condition with "move on completed" torrents

Fixed in develop: [7b44980912]

comment:3 Changed 9 years ago by Cas

  • Milestone changed from 2.0.x to 1.3.8

For reference this was fixed in 1.3-stable: [fed52215035b]

Note: See TracTickets for help on using tickets.