Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add admin API for pausing background updates #11259

Closed
erikjohnston opened this issue Nov 5, 2021 · 1 comment · Fixed by #11263
Closed

Add admin API for pausing background updates #11259

erikjohnston opened this issue Nov 5, 2021 · 1 comment · Fixed by #11263
Assignees
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@erikjohnston
Copy link
Member

If a background update is causing issues it is useful to be able to temporarily pause running of the updates via an admin API.

Open question: should this only pause the BG updates until next restart? We want to avoid the situation where the BG updates get paused and then forgotten about, as that would be a massive footgun

@erikjohnston erikjohnston added the T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. label Nov 5, 2021
@richvdh
Copy link
Member

richvdh commented Nov 5, 2021

other things it would be useful for this API to do:

  • give a status report on the current bg update situation (raw dump of the background_updates table, contents of the _background_update_performance dict)
  • possibly, mess about with the bg update timing params

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants