Skip to content

Conversation

@tw4l
Copy link
Member

@tw4l tw4l commented Jan 15, 2026

Fixes #3067

This PR includes two migrations:

  • One that fixes background jobs that never had finished or success set properly in the database
  • One that finds all crawl and profile files that have not been replicated (if replica locations are set) and creates new background jobs to re-replicate them.

Work in progress. The migration numbers may need to be modified depending on relative merge timing of this PR, #3111, and #3112

tw4l added 5 commits January 20, 2026 15:24
Some background jobs previously failed and did not have success
or finished fields set due to bugs. This migration targets those
jobs to update these fields so that the existing API endpoints for
retrying background jobs can be used.
This is preferable to simply retrying older failed replication
background jobs, as it's possible that the objects they correlate
to have been deleted or changed since and so those old background
jobs would no longer be applicable.
@tw4l tw4l force-pushed the issue-3067-rerun-bg-jobs-not-finished branch from 6277866 to 0bf8c12 Compare January 20, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task]: Re-run previously failed background jobs that never had finished/success set

2 participants