pub fn acquire_daemon_boot_guard() -> Result<DaemonBootGuard>Expand description
Acquire the recovery/boot lock, treating failure as fatal.
Unlike acquire_recovery_lock (best-effort, None on failure: used by
shutdown cleanup, where skipping unlink is safer than blocking forever),
daemon-mode boot must hold this lock across migrations/FTS DDL through
bind+pid-write. Silently continuing with no lock reopens the cold-boot FTS
race this guard exists to close, so callers that are about to run
daemon-mode boot (or wait for one to quiesce) must fail loudly instead of
proceeding unguarded.