Page MenuHomeSoftware Heritage

journal: add a journal origin client to schedule loader tasks?
Open, NormalPublic

Description

To separate concerns, the journal could be leverage to schedule loading tasks:

|---------------------------------------------------------------+-----------------------------------------------------------------------------|
| pros                                                          | cons                                                                        |
|---------------------------------------------------------------+-----------------------------------------------------------------------------|
| - separation of concerns (lister lists and creates origins,   | - the task's policy (recurring, oneshot) is not part of the journal's event |
| no longer schedules)                                          | (that might be triggering a schema migration on the scheduler's part: new   |
| - centralize the scheduling logic within that journal client  | origin_type column in task_type table)                                      |
| (that could simplify maintenance and be a step towards T1157) | - add a new cog on swh machinery                                            |
|---------------------------------------------------------------+-----------------------------------------------------------------------------|

Related T1157

Event Timeline

ardumont created this task.Jan 15 2019, 2:17 PM
ardumont triaged this task as Normal priority.
ardumont added a project: Journal.
ardumont updated the task description. (Show Details)
ardumont updated the task description. (Show Details)Jan 15 2019, 2:19 PM
ardumont updated the task description. (Show Details)