Skip to main content

append_interrupted

Function append_interrupted 

Source
pub fn append_interrupted(
    path: &Path,
    agents: u32,
    restart: &str,
    at_ms: u64,
) -> Result<()>
Expand description

Append what srv found at start-up: agents agent processes were running when the previous srv died (session_recovery::scan_orphans). restart is the id of the srv_restarted incident whose respawn started this srv (the launcher passes it in RESTART_ID_ENV; a cold start has none and writes nothing). The two are written by different processes, in either order.