Skip to content

Add a periodic background job to check the consistency of the index #2227

@pietroalbini

Description

@pietroalbini

Currently we have no way to get paged if we lose consistency between the crates.io database and the git index. Having such alerts would improve the team's response time to outages like 2020-02-20.

The job should run periodically, with an high enough frequency to produce actionable alerts but a low enough frequency to avoid disruptions to other jobs in the queue. Also, it should ignore crates in the database still waiting for the background job pushing the index commit to execute (we already have separate alerts if those jobs stay in the queue too much).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-internal 🔧Category: Nonessential work that would make the codebase more consistent or clear

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions