Skip to main content

recover_startup_orphans

Function recover_startup_orphans 

Source
pub async fn recover_startup_orphans(
    pool: &SqlitePool,
) -> Result<StartupOrphanSweepReport>
Expand description

Full-mode startup records every affected row before retiring a dead live owner. Holding the process-shared database lock distinguishes a killed process from a paused one whose heartbeat may be stale but whose controller operation is still live.