Skip to main content

reclaim_stale_srv_lock

Function reclaim_stale_srv_lock 

Source
pub fn reclaim_stale_srv_lock(data_dir: &Path)
Expand description

If <data_dir>/srv.lock is held, stop the stale srv holding it. Returns once the lock is free, or the holder can’t be stopped (the srv spawn that follows then fails and reports it as before).