Fix crash recovery for Harness home and session locks #213
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/home-lock-owner-incarnation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replace PID-only ownership with retained SQLite exclusive transactions using built-in Node SQLite. Permanent marker/inodes avoid stale reaper and unlink/recreate races. Legacy or malformed locks fail closed. Targeted tests and build pass; candidate independently exercised inside Minato Kata on actual Longhorn PVC: live exclusion, SIGKILL reacquire and eight-way recovery contention with exactly one owner. Security review pending. Activation must stop old writer and archive verified legacy PID-only lock without changing session or crypto data. No fleet rollout authorized; Minato-only consumer acceptance.