Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monitoring task per import #122

Open
mattiagiupponi opened this issue Oct 5, 2022 · 0 comments
Open

monitoring task per import #122

mattiagiupponi opened this issue Oct 5, 2022 · 0 comments
Labels
enhancement New feature or request estimate needed we need to do an estimate for this ticket

Comments

@mattiagiupponi
Copy link
Contributor

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

@mattiagiupponi mattiagiupponi added enhancement New feature or request estimate needed we need to do an estimate for this ticket labels Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request estimate needed we need to do an estimate for this ticket
Projects
None yet
Development

No branches or pull requests

1 participant