[mythtv-commits] Ticket #9160: Improper insertion of jobs through MythWeb can block future commflag jobs (was: Failed commflag jobs can block future commflag jobs)
MythTV
noreply at mythtv.org
Tue Jun 28 05:20:44 UTC 2011
#9160: Improper insertion of jobs through MythWeb can block future commflag jobs
-------------------------------------------------+-------------------------
Reporter: Ken Emerson <kenneth.emerson@…> | Owner: kormoc
Type: defect | Status:
Priority: minor | assigned
Component: Plugin - MythWeb | Milestone: unknown
Severity: medium | Version: Trunk
Keywords: | Head
| Resolution:
| Ticket locked: 0
-------------------------------------------------+-------------------------
Changes (by wagnerrp):
* owner: wagnerrp => kormoc
* status: infoneeded => assigned
* component: MythTV - Mythjobqueue => Plugin - MythWeb
Old description:
> When a commflag job fails (segfaults) it leaves an active entry in the
> job queue. When the number of active but failed commflag entries in the
> job queue equal the maximum simultaneous jobs allowed by the user, future
> commflag jobs are not run. After manually deleting the entries for the
> failed jobs from the job queue, queued commflag jobs start running.
>
> Trunk version 26977
New description:
MythWeb has no protection insertion of new jobs into the jobqueue table.
If two instances of the details page are opened and the same job run
twice, or the user hits the back button triggering a repeat submission, a
duplicate job can be added to the table. This results in the second copy
of the job being left in the queue indefinitely, confusing subsequent host
selection of tasks.
This will be rendered a non-issue by the jobqueue rewrite, if not fixed by
the time that gets merged in.
--
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9160#comment:18>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list