Skip to main content

rerun

Function rerun 

Source
pub async fn rerun(
    services: &Services,
    check: &str,
) -> Result<impl Iterator<Item = Stamp>>
Expand description

Schedules the repair of an integrity check for the next start.

The repair is left to the startup ladder, which runs while nothing else writes: this removes the stamps of the steps carrying it, and the next start with migrations enabled runs them again. A check whose steps are not safe to run twice is refused with the reason, as is a database that cannot be written.