Opened 12 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: Etienne Dechamps Owned by:
Priority: minor Milestone: 1.3.8
Component: Plugin Version: 1.3.6
Keywords: execute move_on_completed Cc:

Description

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 by Calum, 12 years ago

Milestone: Future1.4.0

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

comment:2 by Calum, 10 years ago

Resolution: Fixed
Status: newclosed
Summary: Execute plugin + "move on completed" = race condition[Execute] Race condition with "move on completed" torrents

Fixed in develop: [7b44980912]

comment:3 by Calum, 9 years ago

Milestone: 2.0.x1.3.8

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

Note: See TracTickets for help on using tickets.