Skip to main content

kill_starting_cluster

Function kill_starting_cluster 

Source
fn kill_starting_cluster(pid: u32)
Expand description

Kill a cluster cancelled mid-startup. The signal reached only the foreground spawner: the daemon sits in its own process group (see detach), together with the storage children it already spawned, so the whole group must be killed from here — SIGTERM first (the daemon’s own handler tears the children down and removes its pidfile), SIGKILL to the group past KILL_GRACE.