Job compilation should survive server restarts #62534
Labels
No Label
Good First Issue
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Job Type
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/flamenco#62534
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently any running job compilation is aborted when the server restarts. Since job compilation also can take more than a second, we should probably move it to a background process with Celery. Celery is a bit better in finishing the task before shutting down, and we can have a background monitoring operation and re-create any jobts that are stuck in 'under-construction' status.
This actually happened to a Cloud subscriber (https://cloud.blender.org/flamenco/p-5c73c4680ab12b4c191cf8d0/jobs/5c8673670e2ba003b9e4b33b).
Added subscribers: @dr.sybren, @fsiddi
Added subscriber: @crantisz
I think it's need to have ability to remove jobs in 'under-construction' status, anyway, even if it will be fixed.
Nope, deletion of those jobs is impossible for a reason. When the job is in that status, its tasks are being created by Flamenco Server, and nobody else should be touching the job.
Changed status from 'Confirmed' to: 'Archived'
A new generation of Flamenco (version 3.0) is in development (in the
main
branch at https://developer.blender.org/diffusion/F/), so all issues with Flamenco version 2 or older will be archived.