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

Bail during start-up if there are old background updates. #16397

Open
3 tasks done
matrixbot opened this issue Dec 21, 2023 · 0 comments
Open
3 tasks done

Bail during start-up if there are old background updates. #16397

matrixbot opened this issue Dec 21, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 21, 2023

This issue has been migrated from #16397.


This is a basic implementation to enforce that some old background updates have run.

My hope is that this could be used to avoid future situations like #16192. This would fix #16047 in a simplistic manner and doesn't attempt to differentiate between different types of background updates.

This still would require us to do thinking about what old updates are now required, but I think it would fix the issue where we have to continually create background jobs due to dependencies.

TODO

  • Enforce that ordering is filled in (non-nullable).
  • Maybe try to fix that BACKGROUND_UPDATES_COMPAT_VERSION < last full schema dump?
  • Documentation.
@matrixbot matrixbot changed the title Dummy issue Bail during start-up if there are old background updates. Dec 22, 2023
@matrixbot matrixbot reopened this Dec 22, 2023
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

No branches or pull requests

1 participant