[go: up one dir, main page]

Skip to content

Add timeout state to BulkImport::ExportBatch and create a cron job to convert old started jobs.

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

The following discussion from !169122 (merged) should be addressed:

  • @rodrigo.tomonari started a discussion: (+2 comments)

    concern

    If jobs die and BulkImports::ExportBatch remains in a started state indefinitely, no other exports will take place. 😬

    Perhaps we need a cronjob worker to set the status to timeout after some time, wdyt?

In the original MR a new scope started_and_not_timed_out has been created, to avoid the issue above.

However, it would be good to also have a cron job to update the state of the batch to timeout to allow us to keep better track of jobs.

Edited by 🤖 GitLab Bot 🤖