Allow jobs to be submitted in paused status #99439

Closed
opened 2022-07-04 17:35:13 +02:00 by Sybren A. Stüvel · 3 comments

To support external synchronisation of files, for example via Syncthing, it would be great to be able to submit jobs in paused state.

This would be a possible use case:

  • Submit the job, storing the files in some local directory that's synchronised by Syncthing.
  • The job is created by Flamenco Manager, and is paused.
  • Wait for Syncthing to sync all the files.
  • Queue the job for execution on the farm.

As a followup task, it would be amazing if we could get some signal from Syncthing that the synchronisation is complete and the job can start.

An alternative approach would be to have Syncthing on the worker indicate that that worker's files are synchronised, and that it can join in the work on that job. That'll require some architectural changes, though.

To support external synchronisation of files, for example via [Syncthing](https://syncthing.net/), it would be great to be able to submit jobs in `paused` state. This would be a possible use case: - Submit the job, storing the files in some local directory that's synchronised by Syncthing. - The job is created by Flamenco Manager, and is paused. - Wait for Syncthing to sync all the files. - Queue the job for execution on the farm. --------------- As a followup task, it would be amazing if we could get some signal from Syncthing that the synchronisation is complete and the job can start. An alternative approach would be to have Syncthing on the worker indicate that that worker's files are synchronised, and that it can join in the work on that job. That'll require some architectural changes, though.
Author
Owner

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Owner

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren
Sybren A. Stüvel added
Type
To Do
and removed
Type
Report
labels 2023-02-17 11:11:34 +01:00
David Zhang self-assigned this 2024-06-07 09:34:14 +02:00
Author
Owner

This has been implemented.

This has been implemented.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/flamenco#99439
No description provided.