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

Add admin API for pausing background updates #11259

Closed

Description

@erikjohnston

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

Activity

  1. added
    T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.
    on Nov 5, 2021
  2. richvdh commented on Nov 5, 2021

    @richvdh
    Member

    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
  3. self-assigned this
    on Nov 5, 2021
  4. added a commit that references this issue on Nov 8, 2021
    4ee71b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions