Commit Graph
6 Commits
Author SHA1 Message Date
pingqiuandClaude Opus 5.5 83f8507d3b durable, blockvolume: review fold for the host lock and the rolled-back root
- The lock directory is created (0700) when missing; only a directory or
  lock file that cannot be created or opened refuses, with the cure
  (install the tmpfiles.d entry, or chown the directory and its lock files
  to the unit's user).
- The lock file is opened read-only (an existing file first, created 0644
  only when missing), so a lock file another user created stays lockable;
  it is never unlinked, and the next owner locks the same file.
- A stale-root startup end carries its cure into the final exit line:
  exiting status=78 reason=superseded cure="...".
- Tests: a cut's remote_lsn is locally durable at its HEAD CAS, and the
  root's crash image at the CAS reattaches and serves; the rolled-back copy
  makes no claim or PUT, admits no I/O, keeps its data and durable LSN; an
  exact copy at HEAD attaches; a read-only lock file is taken.
- Invariants: INV-WS-ONE-PROCESS-PER-HOST-001 and its M4 edge; the
  rollback row names its test file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 10:40:12 -08:00
pingqiu 3daa1d2162 fix: compare supersede exits with latest own authority lineage 2026-11-22 00:46:24 -08:00
pingqiu 5646cad928 fix: keep signal and acknowledged revoke status immutable during cleanup 2026-11-22 00:17:48 -08:00
pingqiu 741cdbfbc9 fix: deliver the first process exit through one immutable buffered slot 2026-11-22 00:17:12 -08:00
pingqiu 8b4fd25776 fix: preserve acknowledged planned-stop status and witness stuck cleanup exit 2026-11-21 23:53:57 -08:00
pingqiu 5d730c1ecc fix: latch exhausted workspace startup and bound process retry exit 2026-11-21 23:52:54 -08:00