Skip to main content

holder_is_dead

Function holder_is_dead 

Source
fn holder_is_dead(file: &LeaseFile) -> bool
Expand description

True only when the holder is provably gone: it recorded this host, and its pid is not running or now belongs to a process that started at a different time. Anything we can’t prove (a lease from another host — the shared root on a network drive — or one written before hosts were recorded) is treated as alive.