Opened 14 years ago

Closed 14 years ago

#3432 closed defect (worksforme)

Restarting backend while mythtranscode is running violates job queue rules

Reported by: kkuphal Owned by: cpinkham
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


Today I had a mythtranscode job running to convert HD to MPEG-4 and restarted mythbackend during the process. The original mythtranscode job continued to run and a second mythtranscode job was started when the backend came up. My system is configured for only one job running at a time.

I believe this is a bug as the backend should either stop the original transcode and restart it, realize a transcode is running and monitor it, or abort the transcode and move onto the next job. It is also unclear weather the original running transcode will complete successfully or now fail after finishing.

Change History (2)

comment:1 Changed 14 years ago by cpinkham

Owner: changed from Isaac Richards to cpinkham

comment:2 Changed 14 years ago by cpinkham

Resolution: worksforme
Status: newclosed

I am unable to reproduce this, I start and stop mythbackend all the time on my development box with jobs running and haven't run into this issue. All child processes of the JobQueue? should die when the parent mythbackend dies. If this happens again, please get some debug info like a ps output or whatever else you can think of that might help debug the issue.

Note: See TracTickets for help on using tickets.