#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 , 12 years ago
Milestone: | Future → 1.4.0 |
---|
comment:2 by , 10 years ago
Resolution: | → Fixed |
---|---|
Status: | new → closed |
Summary: | Execute plugin + "move on completed" = race condition → [Execute] Race condition with "move on completed" torrents |
Fixed in develop: [7b44980912]
comment:3 by , 9 years ago
Milestone: | 2.0.x → 1.3.8 |
---|
For reference this was fixed in 1.3-stable: [fed52215035b]
Note:
See TracTickets
for help on using tickets.
Once we implement the move_completed event both this plugin and extractor can be updated.