Skip to content

monitoring task per import #122

Open
@mattiagiupponi

Description

@mattiagiupponi

To avoid zombie execution is essential to set a timeout.
Due to the architecture of the importer, it is not possible to rely on the task timeout because:

  • each time a new task is launched
  • we need to keep consistency for the whole execution, not for a single task.

The base idea discussed with @giohappy is having a monitoring task.

The monitoring task:

  • is going to be launched along with the import, it will control that the last heartbeat of the execution is lower than the timeout set (example 10 min)
  • will set the execution as failed if needed
  • will die as soon as the execution is successful / invalid or finished

This is just a base idea, the details need a deeper discussion also with @etj

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestestimate neededwe need to do an estimate for this ticket

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions